Update deprecated IdentityServicesProvider function in PickerAdapter.
This CL replaces deprecated |IdentityServiceProvider#getIdentityManager| with the newer getter with profile parameter. PickerAdapter provides contacts for contacts picker by using email info coming from identity manager. Since this is read only operation, this CL always passes |Profile#getLastUsedRegularProfile| to be able to provide contacts information even in incognito mode. Note: This is only clean up and does not change any code behaviour. Bug: 1041781, 1075562 Change-Id: I05c9ded3d5ca1f878bbd855c123d04362dc97a40 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340963Reviewed-by:Peter Beverloo <peter@chromium.org> Reviewed-by:
Ramin Halavati <rhalavati@chromium.org> Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Cr-Commit-Position: refs/heads/master@{#799073}
Showing
Please register or sign in to comment