summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorjrizzoli <joey@cyanogenmoditalia.it>2016-02-05 14:30:14 +0100
committerjrizzoli <joey@cyanogenmoditalia.it>2016-02-06 20:55:15 +0100
commit7924a0c4f90741e5e5620378760ad3e2b7dde7dc (patch)
treefc5ea07566b3cdafd02a8dbffac3aac0a56ce537 /res
parentb7b51df6e24ebe0c4ddf1a1fdfa071c8e945fb24 (diff)
downloadandroid_packages_apps_Gello-7924a0c4f90741e5e5620378760ad3e2b7dde7dc.tar.gz
android_packages_apps_Gello-7924a0c4f90741e5e5620378760ad3e2b7dde7dc.tar.bz2
android_packages_apps_Gello-7924a0c4f90741e5e5620378760ad3e2b7dde7dc.zip
Gello: LookLock
Prevent apps from reading gello webview content by using FLAG_SECURE Change-Id: I7e3413104c4f71b11da4c55b45eeab05d133ea1f Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml4
-rw-r--r--res/xml/general_preferences.xml7
2 files changed, 11 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 80938248..1dc2c087 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -505,11 +505,15 @@
Swipe from the edge to navigate across history.\nThis feature may conflict with websites using edge-based actions</string>
<string name="pref_edge_enable">Enable</string>
<string name="pref_edge_disable">Disable</string>
+ <!-- Colored statusbar -->
<string name="pref_coloredsb_title">Colored statusbar</string>
<string name="pref_coloredsb_summary">Statusbar will change color basing on the visited page</string>
<!-- Title for accessibility settings [CHAR LIMIT=25] -->
<string name="pref_accessibility_title">Accessibility</string>
<string name="pref_accessibility_title_summary">Text size and zooming</string>
+ <!-- LookLock -->
+ <string name="pref_looklock_title">LookLock</string>
+ <string name="pref_looklock_summary">Prevent other apps from reading webview content from this app</string>
<!-- Font size settings category under accessibility settings [CHAR LIMIT=50] -->
<string name="pref_font_size_category">Text size</string>
<!-- Title for the fullscreen lab feature [CHAR LIMIT=40] -->
diff --git a/res/xml/general_preferences.xml b/res/xml/general_preferences.xml
index 74e24d3f..136e89f6 100644
--- a/res/xml/general_preferences.xml
+++ b/res/xml/general_preferences.xml
@@ -101,6 +101,13 @@
android:layout="@layout/swe_preference"
android:key="content_settings" />
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
+ android:defaultValue="false"
+ android:key="looklock_key"
+ android:summary="@string/pref_looklock_summary"
+ android:title="@string/pref_looklock_title" />
+
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_extras_title"