diff options
| author | Rhed Jao <rhedjao@google.com> | 2021-07-23 14:58:04 +0800 |
|---|---|---|
| committer | Rhed Jao <rhedjao@google.com> | 2021-07-23 14:58:04 +0800 |
| commit | 80573612b2e3fd55c1d3ea42a898eff6a7d57df6 (patch) | |
| tree | 5323cd20065efca8a9df7ca6343495fb752ae9c6 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | a549d4656e0347a37639af59ffde5e70ac041a45 (diff) | |
Migrates to the new resolveContentProvider api
The original resolveContentProvider api gets the caller's uid using
the Binder#getCallingUid. That may cause the package information
disclosure issue if the caller has cleared the calling identify.
This cl migrates the callers of resolveContentProvider to use the
new one with a calling uid parameter. The caller could pass the
correct caller's uid to use the api.
Bug: 192354703
Test: atest UriGrantsManagerServiceTest
Test: atest UriPermissionTest
Test: atest ContextTest
Change-Id: I153df4e77642f0622c7f0f5804639795e90ded21
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
