summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/precall/impl/res/values
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2017-12-14 17:26:58 -0800
committerCopybara-Service <copybara-piper@google.com>2017-12-14 17:44:38 -0800
commit89c9ff500a3af31740e5cf082e30b79c9cc8451e (patch)
treed4d7610b759a27ffa35682dbd3a9d4b60aff4662 /java/com/android/dialer/precall/impl/res/values
parent937bd02d7cb045cea9aa21a76f3425a68468eeeb (diff)
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
Diffstat (limited to 'java/com/android/dialer/precall/impl/res/values')
-rw-r--r--java/com/android/dialer/precall/impl/res/values/strings.xml3
1 files changed, 3 insertions, 0 deletions
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
-->
<resources>
+ <!-- Toast when the user tried to place a call but has revoked phone permission [CHAR_LIMIT=none] -->
+ <string name="pre_call_permission_check_no_phone_permission">Cannot make call without phone permission</string>
+
<!-- Title of the dialog to select which SIM to call with before making a call, if the device has
multiple SIMs [CHAR LIMIT=40]-->
<string name="pre_call_select_phone_account">Choose SIM for this call</string>