Merge \"Disable Gestures Settings by default.\" into nyc-mr1-dev
am: 709aa539c8
Change-Id: I164c244613a9d58b7e2f5ec37d144385d577ccdd
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f0110fe..5b818cc 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2923,7 +2923,7 @@
<activity android:name="Settings$GestureSettingsActivity"
android:label="@string/gesture_preference_title"
android:icon="@drawable/ic_settings_gestures"
- android:taskAffinity="">
+ android:enabled="@bool/config_gesture_settings_enabled">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.android.settings.SHORTCUT" />
diff --git a/res/values/config.xml b/res/values/config.xml
index 3491922..c8ea171 100755
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -52,4 +52,7 @@
<string name="gesture_double_twist_sensor_name" translatable="false"></string>
<string name="gesture_double_twist_sensor_vendor" translatable="false"></string>
+ <!-- When true enable gesture setting. -->
+ <bool name="config_gesture_settings_enabled">false</bool>
+
</resources>