summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2015-08-04 18:00:49 -0700
committerSvetoslav <svetoslavganov@google.com>2015-08-04 18:00:52 -0700
commitcea90ebdaf0156d4796735f9581982a545c81b31 (patch)
treecd12ceef74ad3f35eb4f76800618962335cefd14 /res
parentb004e34fde75dfd0229e98818bff49d74b46af5c (diff)
downloadandroid_packages_apps_PackageInstaller-cea90ebdaf0156d4796735f9581982a545c81b31.tar.gz
android_packages_apps_PackageInstaller-cea90ebdaf0156d4796735f9581982a545c81b31.tar.bz2
android_packages_apps_PackageInstaller-cea90ebdaf0156d4796735f9581982a545c81b31.zip
Add strings for the screen overlay warning
We do not allow interaction with the permissions UI if it is covered by screen overlay to prevent UI redressing attacks. This change adds the strings for the warning dialog we show if there is an overlay when the user tries to interact with the permissions UI. bug:22317719 Change-Id: Ibaa04b89b52757275dc08f228e3bf496606409fb
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml17
1 files changed, 12 insertions, 5 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 4fb4055e..416a4d9d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -261,10 +261,17 @@
<!-- Title of the permission dialog for accessibility purposes- spoken to the user. [CHAR LIMIT=none] -->
<string name="permission_request_title">Permission request</string>
- <!-- Toast that warns the user they need to turn off screen overlays
- before permissions can be changed. The "Settings > Apps" conveys
- to the user to go to Settings and click on apps, this may
- need updates in RTL languages. [CHAR LIMIT=NONE] -->
- <string name="screen_overlay_toast">To set permissions, turn off screen overlay from Settings \u003e Apps</string>
+ <!-- Title for the dialog that warns the user they need to turn off screen overlays
+ before permissions can be changed. [CHAR LIMIT=NONE] -->
+ <string name="screen_overlay_title">Screen overlay detected</string>
+
+ <!-- Message for the dialog that warns the user they need to turn off screen overlays
+ before permissions can be changed. The "Settings > Apps" conveys to the user to
+ go to Settings and click on apps, this may need updates in RTL languages. [CHAR LIMIT=NONE] -->
+ <string name="screen_overlay_message">To change this permission setting, you first have to turn off the screen overlay from Settings \u003e Apps</string>
+
+ <!-- Button for the dialog that warns the user they need to turn off screen overlays
+ before permissions can be changed. [CHAR LIMIT=NONE] -->
+ <string name="screen_overlay_button">Open settings</string>
</resources>