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

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

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
parent 9720fee8
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