From 89c9ff500a3af31740e5cf082e30b79c9cc8451e Mon Sep 17 00:00:00 2001 From: twyen Date: Thu, 14 Dec 2017 17:26:58 -0800 Subject: Add PreCall step to check permission If CALL_PHONE is missing PreCall will abort immediately and show a toast. Bug: 70565989,70566029 Test: PermissionCheckActionTest PiperOrigin-RevId: 179123070 Change-Id: I0d43c6acd44e77562752c871bed0223b2f787dde --- java/com/android/dialer/precall/impl/res/values/strings.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'java/com/android/dialer/precall/impl/res/values') diff --git a/java/com/android/dialer/precall/impl/res/values/strings.xml b/java/com/android/dialer/precall/impl/res/values/strings.xml index 2560e4999..0b59607b6 100644 --- a/java/com/android/dialer/precall/impl/res/values/strings.xml +++ b/java/com/android/dialer/precall/impl/res/values/strings.xml @@ -15,6 +15,9 @@ ~ limitations under the License --> + + Cannot make call without phone permission + Choose SIM for this call -- cgit v1.2.3