[Android] Remove sign-out option for unicorn accounts in ManageSyncSettings page
If MOBILE_IDENTITY_CONSISTENCY is enabled, users are able to sign out from ManageSyncSettings page. But unicorn account (child accounts) should not be able to sign out from there. This cl checks for child accounts before showing the sign out button in ManageSyncSettings page. Also for child accounts sync should always be on. This cl also makes sure that sync is not toggled off when all data types are toggled off in ManageSyncSettings page. Bug: 1159410 Change-Id: Iee7b79af72dc3313ebbccc4ea9850d9e937c625b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595409Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Commit-Queue: Tanmoy Mollik <triploblastic@chromium.org> Cr-Commit-Position: refs/heads/master@{#838008}
Showing
Please register or sign in to comment