diff options
author | twyen <twyen@google.com> | 2017-12-14 17:26:58 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-14 17:44:38 -0800 |
commit | 89c9ff500a3af31740e5cf082e30b79c9cc8451e (patch) | |
tree | d4d7610b759a27ffa35682dbd3a9d4b60aff4662 /java/com/android/dialer/precall/impl/res | |
parent | 937bd02d7cb045cea9aa21a76f3425a68468eeeb (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')
-rw-r--r-- | java/com/android/dialer/precall/impl/res/values/strings.xml | 3 |
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> |