summaryrefslogtreecommitdiffstats
path: root/res/values/arrays.xml
diff options
context:
space:
mode:
authorJake Hamby <jhamby@google.com>2012-09-06 17:41:34 -0700
committerJake Hamby <jhamby@google.com>2012-09-14 16:47:04 -0700
commit3465b67740e17711af2b36b09e2250a02275d860 (patch)
tree7496a23cfe3d4042b4117a56efd4d8abbcab10d1 /res/values/arrays.xml
parent9310f85dc7f5421f9ca6b1d644c8ddff792e8f37 (diff)
downloadpackages_apps_settings-3465b67740e17711af2b36b09e2250a02275d860.zip
packages_apps_settings-3465b67740e17711af2b36b09e2250a02275d860.tar.gz
packages_apps_settings-3465b67740e17711af2b36b09e2250a02275d860.tar.bz2
Add support for per-package policy for sending premium SMS.
The default behavior for sending a message to a premium SMS short code (or suspected premium SMS number) is to ask the user for confirmation. Enable the user to set a default policy ("remember this choice" checkbox) to always/never allow the app to send SMS to premium short codes in the future. The policy can be changed by the Settings app in the app info screen. Bug: 5513975 Change-Id: I93053fef1524ee7772cc87364c760cb3dbf01ad7
Diffstat (limited to 'res/values/arrays.xml')
-rw-r--r--res/values/arrays.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index e699dc2..6b1c3f9 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -746,4 +746,14 @@
<item>2</item>
<item>1</item>
</string-array>
+
+ <!-- Values for premium SMS permission selector [CHAR LIMIT=30] -->
+ <string-array name="security_settings_premium_sms_values">
+ <!-- Ask user before sending to premium SMS short code. -->
+ <item>Ask</item>
+ <!-- Never allow app to send to premium SMS short code. -->
+ <item>Never allow</item>
+ <!-- Always allow app to send to premium SMS short code. -->
+ <item>Always allow</item>
+ </string-array>
</resources>