Disallow non-emergency outgoing calls without CALL_PHONE permission
Bug: 21925398
Change-Id: I9cef6cd2c11f767740d03ebce99b8b54efd1f68a
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b6eb307..8f73377 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -81,7 +81,11 @@
<!-- Message indicating that the user is not allowed to make non-emergency outgoing phone calls
due to a user restriction -->
- <string name="outgoing_call_not_allowed">Only emergency calls are allowed by the device owner.</string>
+ <string name="outgoing_call_not_allowed_user_restriction">Only emergency calls are allowed by the device owner.</string>
+
+ <!-- Message indicating that the user is not allowed to make non-emergency outgoing phone calls
+ due to the lack of the CALL_PHONE permission -->
+ <string name="outgoing_call_not_allowed_no_permission">This application cannot make outgoing calls without the Phone permission.</string>
<!-- Call failure message displayed in an error dialog used to indicate that a phone number was not provided -->
<string name="outgoing_call_error_no_phone_number_supplied">To place a call, enter a valid number.</string>