Introduce intent flag EXTENDED_FLAG_FILTER_MISMATCH
Introduce new flag value EXTENDED_FLAG_INTENT_MISMATCH to allow the system to inform app components whether it matches its intent filter. Because all bit values of mFlag is used, we need to introduce a new flag field to store additional information in intents. This information is exposed as a public API through the method Intent#isMismatchingFilter(). The actual enforcement for blocking mismatching intents are disabled for V and is planned for future releases. Bug: 293560872 Test: atest CtsContentTestCases:IntentTest Test: atest CtsContentTestCases --test-filter '.*IntentMismatchFlag' Change-Id: Ic79b7b7d00b937d15f05d32706ac6b7e63c22419
Loading
Please register or sign in to comment