diff options
author | arangelov <arangelov@google.com> | 2018-08-14 20:14:12 +0100 |
---|---|---|
committer | Antoan Angelov <arangelov@google.com> | 2018-08-23 16:15:34 +0000 |
commit | 3830374a9a62fe8fe56811df0999c8dcd990d3ea (patch) | |
tree | 97058898d181d8f915af3b99dda19e47bb70283b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d5796dd4f1cce3860241ab179e0bd07fbaf19864 (diff) |
No disclaimer when switching profile for system SMS and dialer apps (2).
This CL improves on a previous one by preventing the Toast message from
showing when from a browser a user clicks a "tel:", "sms:", "smsto:",
"mms:" or "mmsto:" link. This is done by checking whether the intent
action is ACTION_VIEW and the intent category is CATEGORY_BROWSABLE
with intent data having one of the schemas. Also added
ACTION_CALL_PRIVILEGED and ACTION_CALL_EMERGENCY as they also open
the dialer.
Bug: 111228250
Test: atest FrameworksCoreTests:IntentForwarderActivityTest
Change-Id: I2e0c256aa170c868bf5528a06951cd75783e5d3c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions