summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author John Wu <topjohnwu@google.com> 2024-01-30 02:19:31 +0000
committer John Wu <topjohnwu@google.com> 2024-01-30 04:43:09 +0000
commitb342d8fe49a13d7e0529613d4925d4661ebb6680 (patch)
treed91fb0f73ea71d1beb0bc1ff28daa9fc9b00a78d /libs/androidfw/AssetsProvider.cpp
parent565c5325f292cc9780fe0de548a912b66da224bc (diff)
Update enforce intent filter match implementation
1. Guard the feature with proper feature flagging 2. Gate the behavior with target SDK >= V 3. Ignore default only flags when enforcing the intent filter matching, or else some activities will not be accessible by any intent (e.g. launch activities use the catagory LAUNCHER instead of DEFAULT, which means intents returned from PackageManager#getLaunchIntentForPackage cannot be started by any means). Bug: 315837249 Test: atest PackageManagerTest#testEnforceIntentToMatchIntentFilter Change-Id: I8b390cc6146dfb0cdddf7808f117c61130bbf91e
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions