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
Loading
Please register or sign in to comment