Fix issues with UserManager.DISALLOW_OUTGOING_CALL
* Make sure the correct user is checked when using the
TelecomManager.placeCall API.
* Since a toast cannot be shown without an activity context,
show the error using the ErrorDialogActivity instead.
Bug: 20665346
Change-Id: I353cb009e8f90572a52b560259582180898370d2
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b09cdce..d166cb6 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -75,7 +75,7 @@
<!-- 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">Only emergency calls are allowed by the device owner.</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>