From 3d64653d1f8dd58fb05ff845706eda5c7f344d0b Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Tue, 29 Jun 2010 19:41:43 -0700 Subject: [PATCH] WebView accessibility support - Adding opt-in setting for enabling accessibility script injection from Google Change-Id: I1676f34c30a0e9414d51060ad4fb2c9c502b09c3 --- res/values/strings.xml | 13 ++++- res/xml/accessibility_settings.xml | 9 +++ .../settings/AccessibilitySettings.java | 57 ++++++++++++++++++- 3 files changed, 75 insertions(+), 4 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 84bc6cc0b48..75812754121 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -2122,10 +2122,21 @@ found in the list of installed applications. - You do not have any accessibility related + You do not have any accessibility-related applications installed.\n\nYou can download a screen reader for your device from Android Market.\n\nClick "OK" to install the screen reader. + + Accessibility scripts + + Download accessibility scripts + + Allow applications to download accessibility scripts from Google + + Some applications can ask Google + to download scripts to your phone that make their content more accessible. Are you sure you + want to allow Google to install accessibility scripts on your phone? Power button diff --git a/res/xml/accessibility_settings.xml b/res/xml/accessibility_settings.xml index f82af85a9cf..f2efb27c73a 100644 --- a/res/xml/accessibility_settings.xml +++ b/res/xml/accessibility_settings.xml @@ -26,6 +26,15 @@ + + + +