commit | b8e6044520761f537473d0a04a651118236d2c52 | [log] [tgz] |
---|---|---|
author | John Wu <topjohnwu@google.com> | Thu Jul 14 00:44:58 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 06 00:35:59 2023 +0000 |
tree | 0acbe3dd7af9c553696634b637584c311e5d2678 | |
parent | 87cb895ccdbf478c01793cb60449a607f46faa71 [diff] |
Proper PendingIntent.queryIntentComponents implementation PendingIntent.queryIntentComponents currently does not take the pending intent creator UID into account when performing component resolution. This will return incorrect results, since explicit intents with non-matching intent filter can only be resolved if the sender is the same UID as the target component. Bug: 238415222 Bug: 271845008 Test: atest CtsContentTestCases:PackageManagerTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6c4a347bd225f6427b50978ae02ad6f1af15f538) Merged-In: Ib4e1c04c8de4e9bcee35d584dfb213954ec65449 Change-Id: Ib4e1c04c8de4e9bcee35d584dfb213954ec65449