[Android] Make creation of vault key retrieval intent async
Analogous to the recent https://crrev.com/c/1968991, this patch adopts org.chromium.base.Promise as mechanism to avoid blocking the UI thread while the Intent is constructed as part of TrustedVaultClient.createKeyRetrievalIntent(). This patch also adopts PendingIntent as opposed to Intent, which fits better the need to launch a possibly external flow. Bug: 1012659 Change-Id: Ib8db263f8b5ce3aa255b90603e4def60456d1459 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1972131 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#732338}
Showing
Please register or sign in to comment