[Android] Change AccountManagerTestRule#addAccount return type to CoreAccountInfo
The sign in API uses CoreAccountInfo. So in the long run its better to use CoreAccountInfo for helper methods that interact with sign in API. This cl refactors AccountManagerTestRule so that the methods to add account and check signed in account return CoreAccountInfo. Bug: 1117006 Change-Id: I08245ea7b6325b1a62b3c27d53cc1f9877e9e75d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521571Reviewed-by:Marc Treib <treib@chromium.org> Commit-Queue: Tanmoy Mollik <triploblastic@chromium.org> Cr-Commit-Position: refs/heads/master@{#824832}
Showing
Please register or sign in to comment