cmsdk: Add touch gesture haptic feedback setting

Change-Id: I1e26287a700ccc071c0c5dc5ff71c01df86ef6a0
This commit is contained in:
Michael Bestas 2016-02-20 01:01:34 +02:00 committed by Gerrit Code Review
parent 6f3c30a9ce
commit 73fafc1140
3 changed files with 15 additions and 0 deletions

View File

@ -868,6 +868,7 @@ package cyanogenmod.providers {
field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled";
field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version";
field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale";
field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback";
field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures";
field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls";
field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled";

View File

@ -1750,6 +1750,16 @@ public final class CMSettings {
/** @hide */
public static final Validator HEADSET_CONNECT_PLAYER_VALIDATOR = sBooleanValidator;
/**
* Whether or not to vibrate when a touchscreen gesture is detected
*/
public static final String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK =
"touchscreen_gesture_haptic_feedback";
/** @hide */
public static final Validator TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK_VALIDATOR =
sBooleanValidator;
/**
* I can haz more bukkits
* @hide
@ -1855,6 +1865,7 @@ public final class CMSettings {
CMSettings.System.NAVIGATION_BAR_MENU_ARROW_KEYS,
CMSettings.System.HEADSET_CONNECT_PLAYER,
CMSettings.System.ZEN_ALLOW_LIGHTS,
CMSettings.System.TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK,
};
/**
@ -2002,6 +2013,8 @@ public final class CMSettings {
VALIDATORS.put(HEADSET_CONNECT_PLAYER, HEADSET_CONNECT_PLAYER_VALIDATOR);
VALIDATORS.put(ZEN_ALLOW_LIGHTS, ZEN_ALLOW_LIGHTS_VALIDATOR);
VALIDATORS.put(ZEN_PRIORITY_ALLOW_LIGHTS, ZEN_PRIORITY_ALLOW_LIGHTS_VALIDATOR);
VALIDATORS.put(TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK,
TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK_VALIDATOR);
VALIDATORS.put(__MAGICAL_TEST_PASSING_ENABLER,
__MAGICAL_TEST_PASSING_ENABLER_VALIDATOR);
};

View File

@ -868,6 +868,7 @@ package cyanogenmod.providers {
field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled";
field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version";
field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale";
field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback";
field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures";
field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls";
field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled";