[Unity][Android] Add sign-in preference to SyncAndServicesPreferences
This CL adds SignInPreference to SyncAndServicesPreferences that is only visible when the user is not signed in. SignInPreference in SyncAndServicesPreferences shouldn't show personalized sign-in promo, so setPersonalizedPromoEnabled method is added to SignInPreference. This CL also hides 'Use Sync and all services' toggle and collapses 'Sync and personalization' section in SyncAndServicesPreferences if the user is not signed in. Bug: 814728 Change-Id: If09fa20144bc4669fe03e95cb5719347aa652afc Reviewed-on: https://chromium-review.googlesource.com/1187154Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#585687}
Showing
Please register or sign in to comment