Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync UI: Don't allow setting a passphrase if !EncryptEverythingAllowed
[MERGE TO RELEASE BRANCH] If EncryptEverythingAllowed() was false, then PeopleHandler already skipped the call to EnableEncryptEverything(), but it did still call SetEncryptionPassphrase(). That could get users into a weird state where Sync stopped working. This CL fixes the issue by also skipping the SetEncryptionPassphrase() call in case EncryptEverythingAllowed() is false. Bug: 924847 Change-Id: I3b606e3ea9d0a8f86b865b41eda233dd472cc1eb Reviewed-on: https://chromium-review.googlesource.com/c/1439299 Reviewed-by: Michael Giuffrida <[email protected]> Commit-Queue: Marc Treib <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#627004}(cherry picked from commit 347c098) Reviewed-on: https://chromium-review.googlesource.com/c/1477812 Reviewed-by: Marc Treib <[email protected]> Cr-Commit-Position: refs/branch-heads/3683@{#481} Cr-Branched-From: e510299-refs/heads/master@{#625896}
- Loading branch information