Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b342d8fe authored by John Wu's avatar John Wu
Browse files

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
parent 565c5325
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment