commit | 64439c1e8c93d9e929f2f9d901d1f523bc060aaf | [log] [tgz] |
---|---|---|
author | arangelov <arangelov@google.com> | Tue Jul 31 14:18:47 2018 +0100 |
committer | arangelov <arangelov@google.com> | Thu Aug 02 14:52:30 2018 +0100 |
tree | cd6f9590096ff137a3a1bbab71e931742fa23a62 | |
parent | 614e26dbcba08f0a10ae97293c4bc45622556e0e [diff] |
No disclaimer when switching profile for system SMS and dialer apps. This CL prevents the Toast message from showing when the following conditions are met: 1. App is system app 2. Intent action is either ACTION_DIAL or ACTION_CALL or if it is ACTION_SENDTO, only skip if data scheme is one of "sms:", "smsto:", "mms:" or "mmsto:". Bug: 111228250 Test: atest FrameworksCoreTests:IntentForwarderActivityTest Change-Id: Idef71ff2928e9e3d72bad4ba8ff17f9306e91d25