[Unity][Android] Use UnifiedConsentServiceBridge to update sync prefs
This CL changes SyncAndServicesPreferences to make UnifiedConsentServiceBridge.isUnifiedConsentGiven a source of truth when updating prefs. Before, mUseSyncAndAllServices was used in some places, leading to inconsistencies when UnifiedConsent state can't be changed (for example, because of a custom passphrase). Bug: 882884 Change-Id: Ie9be1b73284a7a818c21d702c47712b787d52846 Reviewed-on: https://chromium-review.googlesource.com/1219927Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#590349}
Showing
Please register or sign in to comment