diff options
| author | John Wu <topjohnwu@google.com> | 2021-08-24 16:01:42 -0700 |
|---|---|---|
| committer | John Wu <topjohnwu@google.com> | 2021-08-24 16:01:48 -0700 |
| commit | 19da953ee14171b713d8cbddb51f778f7a01496b (patch) | |
| tree | 2458ecc60d3098376b1846f86a2955c31aa49e47 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 80908af6834841faf07c61f90641dbe336cdf9ac (diff) | |
Update Intent#resolveTypeIfNeeded() for intent filter matching
With the change ag/15315839, explicit intents also have to match the
declared intent filters. The existing implementation of
resolveTypeIfNeeded() assumes all explicit intents will always be
delivered and will skip resolving types for content:// uris. Update the
implementation to only skip resolution if the intent is bound to the
same app it was created, or the caller is either root or the system.
Bug: 196573010
Test: atest CtsContentTestCases:PackageManagerTest
Change-Id: Ic3b51c68fd971422242db42af35e13f691d65c07
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
