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

Skip to content
Commit c5c6c1a7 authored by Kiran Ramachandra's avatar Kiran Ramachandra
Browse files

Enables opt-in strict intent resolution for apps

Strict intent resolution will enforce:
- Explicit intents should match the target component's intent filter
- Intents without an action should not match any intent filter

Attribute `intentMatchingFlags` defined in manifest.xml can be used for granular enforcement

Caller enforcement supported by app compact flags `ENFORCE_INTENTS_TO_MATCH_INTENT_FILTERS` & `BLOCK_NULL_ACTION_INTENTS` are discontinued

DesignDoc: go/safer-intents-w-design-doc

Bug: 364354494
Test: atest FrameworksCorePackageManagerTests:ParsedMainComponentUtilsTest CtsPackageManagerTestCases:SaferIntentTest PackageManagerServiceUnitTests
Flag: android.security.enable_intent_matching_flags

Change-Id: Iab5c369e1bdeae8db4def9adf3ff27961b072954
parent 47ec424d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment