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
Loading
Please register or sign in to comment