commit | 1644b6cafe959327ca649e265ca7f739c293900e | [log] [tgz] |
---|---|---|
author | Boris Sazonov <bsazonov@chromium.org> | Fri Jan 18 08:34:23 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 18 08:34:23 2019 |
tree | 14337c1f3c49d09e0ec8419c3e50614f89bed3c2 | |
parent | 7fb54d546e833de89bcc5b744fe48d188bea1e7a [diff] |
[Unity][Android] Check isEngineInitialized for sync error card This CL modifies the condition checked before displaying the sync error card in settings. If settings are opened from the sign-in page, getSetupInProgressHandle prevents sync from becoming active, so ProfileSyncService.isSyncActive returns false and the error card card is never displayed. This CL replaces isSyncActive in the condition with isEngineInitialized. In fact, the same condition (isEngineInitialized() && isPassphraseRequiredForDecryption()) is already checked in updateEncryptionState. Bug: 914056 Change-Id: I4d2860d8bc0a4b1c4ac47102105da90ed2b58d75 Reviewed-on: https://chromium-review.googlesource.com/c/1418231 Reviewed-by: Marc Treib <treib@chromium.org> Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#624038}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .