diff options
author | Tony Mak <tonymak@google.com> | 2015-12-01 20:19:03 +0000 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2015-12-01 20:19:03 +0000 |
commit | 807e01cb47c2d5442f76e27b70a7206f77ed76d8 (patch) | |
tree | ade04cafa0dc42f12930fc2352c95f8eae55b8cd /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 08998124567e8f4063c20daf836ce1fb57c459e3 (diff) |
Introduce ONLY_IF_NO_MATCH_FOUND in CrossProfileIntentFilter
With this flag, activities in other profiles can respond to the intent
only if no intent-filter with non-negative priority in current profile can
respond to it.
It is designed like this because activities with negative priority
intentfilter are always used as a fallback in case no one can respond
to the intent. In this case, we expect there is a "real" activity in
other profiles can handle the intentfilter
Here is the example activity that handle the call related intents when
there is no dialer.
NonPhoneActivity.java in Contacts app is an example.
https://github.com/android/platform_packages_apps_contacts/blob/master/AndroidManifest.xml#L461
Bug: 25760508
Change-Id: Ife2a7c19e91ddf5d2e81ad09bd4cf712cdcdb986
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions