diff options
| author | 2024-10-22 17:13:27 +0000 | |
|---|---|---|
| committer | 2024-11-01 18:18:08 +0000 | |
| commit | c5c6c1a7ca1c73eed444cfcd1511d5fe2244fdbb (patch) | |
| tree | 4b27b57e92c4faf9c691c14571581be2cbd3f3c2 /libs/androidfw/ResourceTimer.cpp | |
| parent | 47ec424d66aa0d173ae659dafcc4c174d162980c (diff) | |
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions