summaryrefslogtreecommitdiffstats
path: root/res/layout/enable_accessibility_service_dialog_content.xml
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-09-29 18:15:45 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2014-09-30 23:03:37 +0000
commit524484426855f814ff1f3189fd5221dd630dbf8c (patch)
tree81da9a21970870601132194105b9e58157c6efb6 /res/layout/enable_accessibility_service_dialog_content.xml
parentfc14e272aaed6a6e36c044b93e12d68896aaa543 (diff)
downloadpackages_apps_Settings-524484426855f814ff1f3189fd5221dd630dbf8c.zip
packages_apps_Settings-524484426855f814ff1f3189fd5221dd630dbf8c.tar.gz
packages_apps_Settings-524484426855f814ff1f3189fd5221dd630dbf8c.tar.bz2
Use default encryption password if an accessibility service is enabled.
If accessibility is on and the user selectes a secure lock we use weaker encryption to enable running accessibility layer at the time the user authenticates. This change adds a warning message to the enable accessibility service dialog if there is a secure lock and also adds a warning as a summary for the secure lock in the lock chooser activity. Both warning mention the weaker encryption to be used. bug:17671790 Change-Id: Ib5cc9d3a78f751e18362bb9238fd2804c3b600f8
Diffstat (limited to 'res/layout/enable_accessibility_service_dialog_content.xml')
-rw-r--r--res/layout/enable_accessibility_service_dialog_content.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/layout/enable_accessibility_service_dialog_content.xml b/res/layout/enable_accessibility_service_dialog_content.xml
index fbeeb27..25c6ba2 100644
--- a/res/layout/enable_accessibility_service_dialog_content.xml
+++ b/res/layout/enable_accessibility_service_dialog_content.xml
@@ -28,6 +28,12 @@
android:paddingStart="16dip"
android:paddingEnd="16dip" >
+ <TextView android:id="@+id/encryption_warning"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:padding="10dip"
+ android:textAppearance="?android:attr/textAppearanceMedium"/>
+
<TextView android:id="@+id/capabilities_header"
android:layout_width="fill_parent"
android:layout_height="wrap_content"