summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiril Mikos <kiril.mik.os@gmail.com>2014-12-29 06:32:09 +0000
committerBrinly Taylor <uberlaggydarwin@gmail.com>2015-11-02 12:00:03 +1030
commit66314d31fbec64cec87f2e0d50c79215184e2561 (patch)
treeff3a630a3590e4957c5d98281d0dad0d3f255551
parentf01220e5335880f852fe87234ca69a03bae0931a (diff)
downloadpackages_apps_Settings-66314d31fbec64cec87f2e0d50c79215184e2561.zip
packages_apps_Settings-66314d31fbec64cec87f2e0d50c79215184e2561.tar.gz
packages_apps_Settings-66314d31fbec64cec87f2e0d50c79215184e2561.tar.bz2
Settings: Add preference for EdgeGesture service.
Change-Id: I0325b0a9aa6eb943b48483aebe151726a2c64ac4
-rw-r--r--res/values/cm_strings.xml5
-rw-r--r--res/xml/development_prefs.xml6
2 files changed, 11 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 26c55e1..54470a8 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -614,4 +614,9 @@
<string name="status_bar_battery_percentage_default">Hidden</string>
<string name="status_bar_battery_percentage_text_inside">Inside the icon</string>
<string name="status_bar_battery_percentage_text_next">Next to the icon</string>
+
+ <!-- EdgeGesture service -->
+ <string name="edge_gesture_service_title">Block gesture touch events</string>
+ <string name="edge_gesture_service_summary">Don\'t send touch events for navigation and status bar gestures to apps</string>
+
</resources>
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index b1651e3..899b1c9 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -206,6 +206,12 @@
android:title="@string/pointer_location"
android:summary="@string/pointer_location_summary"/>
+ <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
+ android:key="edge_service_for_gestures"
+ android:title="@string/edge_gesture_service_title"
+ android:summary="@string/edge_gesture_service_summary"
+ android:defaultValue="1"/>
+
</PreferenceCategory>
<PreferenceCategory android:key="debug_drawing_category"