commit | 56208c2097b6200029e4e04092e14a9f67f144a0 | [log] [tgz] |
---|---|---|
author | Tim Sergeant <tsergeant@chromium.org> | Sun Sep 12 23:44:52 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Sep 12 23:44:52 2021 |
tree | 67f8af0e0359faa6c7bccf74120a3c658dd795e0 | |
parent | 3c12beeb921622d067a39c07ae4505fd3d5b4b91 [diff] |
App Service: Don't remove preferred apps for apps with Unknown readiness AppServiceProxyBase removes preferred app settings for an app whenever it receives an update with Unknown readiness. However, at this layer of the code, it is expected that Readiness might be "unknown" even for an installed app, since Publishers only need to send a delta of changed fields to update. This causes us to remove preferred apps settings frequently, including whenever the app is opened. Thanks to some other issues in the system (crbug.com/1238647), this does not cause any issues in current production use-cases. However, with upcoming changes to support link capturing for Web Apps, it became very easy to overwrite settings in the background. This CL just checks for Unknown readiness before removing preferred apps, which resolves the issue. Bug: 1247554, 1247944 Change-Id: Idaf42bd14644290266bd472929b7a79718ff3f27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3149801 Reviewed-by: Nancy Wang <nancylingwang@chromium.org> Commit-Queue: Tim Sergeant <tsergeant@chromium.org> Cr-Commit-Position: refs/heads/main@{#920618}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.