[Android] Dynamically change OnPreferenceClick action for sync row
The sync row in main settings page should launch sign-in screen when there is no sync consent account in chrome. On the other hand when there is an account present it should launch ManageSyncSettings page. This cl adds a OnPreferenceClickListener for the sync row. Also the sync row is always shown if there is a signed-in account present. Bug: 1125464 Change-Id: I97fb6c3cca04654fde148e5c70b211fa3fc3bc27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398682 Commit-Queue: Tanmoy Mollik <triploblastic@chromium.org> Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Reviewed-by:
Alice Wang <aliceywang@chromium.org> Cr-Commit-Position: refs/heads/master@{#807913}
Showing
Please register or sign in to comment