ambient: Add retry logic for UpdateSettings
Changes: 1. When updating fails, we will use backoff policy until max retries. 2. However, we will update immediately if the update is called from Settings UI. 3. Caching the incoming updates when there is a ongoing updating and will update the cache when the ongoing update finishes. Bug: b/152921891 Test: manual Change-Id: I48f6c13f724696b75ee58ed1f7fc24cad7107a68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2378894Reviewed-by:Jimmy Gong <jimmyxgong@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#804809}
Showing
Please register or sign in to comment