commit | 00c380f2c121adcaa00ea4985ca5c947ba962cf5 | [log] [tgz] |
---|---|---|
author | Friedrich Horschig <fhorschig@chromium.org> | Tue Sep 20 10:51:07 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 20 10:51:07 2022 |
tree | 649c999215fd5b00e8b61bb12bfd5d28c947a6e1 | |
parent | 6b297405fefd0826500840ccce8e984c8ef09062 [diff] |
[Android][UPM] Suspend saving for persistent GMS errors With this change, any authentication error (resolvable and unresolvable) will set the kSavePasswordsSuspendedByError pref which prevents users from saving passwords. To ensure consistent application, the override is applied when querying the PasswordManagerSettingsService for the value of PasswordManagerSetting::kOfferToSavePasswords. The override is reset as soon as the backend completes the first call to GMS successfully again — e.g. on start or on a pageload. If the pref is set, the settings service returns that offer to save passwords is turned off. If the user is unenrolled or leaves the experiment, the pref becomes inactive. The pref is not synced. It's false by default and is always set by the latest PasswordStoreAndroidBackend to retrieve logins. Bug: 1352415, 1364084 Change-Id: Ic1ed611693b982fa01d1ab2dc233d3e12f8f0a89 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3899116 Commit-Queue: Friedrich Horschig <fhorschig@chromium.org> Reviewed-by: Mohamed Amir Yosef <mamir@chromium.org> Cr-Commit-Position: refs/heads/main@{#1049030}
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.