[Android] Postpone validateAccountSettings until accounts are ready
This CL modifies SigninHelper.validateAccountSettings so that accounts are accessed only after AccountManagerFacade cache is populated. SigninHelper.validateAccountSettings is called early during startup, so postponing this call should reduce the amount of time spent waiting for accounts on UI thread. Bug: 837374 Change-Id: Ica027806d9a329e08b880abec12dc0954c540e63 Reviewed-on: https://chromium-review.googlesource.com/c/1329247Reviewed-by:Mihai Sardarescu <msarda@chromium.org> Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#607221}
Showing
Please register or sign in to comment