[Android] Refactor IdentityManager.Observer API override in IdentityDiscController
Replace IdentityManager.Observer.(onPrimaryAccountSet/Cleared) calls with onPrimaryAccountChanged call. This cl also fixes an issue where the IdentityDisc is not shown until first refresh when the user signs in without sync consent. Bug: 1132291, 1158855 Change-Id: Iefec79c38f39af8927ac5a30648e19f398e16401 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2598915 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@{#840220}
Showing
Please register or sign in to comment