Merge "Add Tap Gesture for Aware Settings" into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e39c7bd211
@@ -8961,6 +8961,14 @@ public final class Settings {
|
||||
|
||||
private static final Validator AWARE_LOCK_ENABLED_VALIDATOR = BOOLEAN_VALIDATOR;
|
||||
|
||||
/**
|
||||
* Controls whether tap gesture is enabled.
|
||||
* @hide
|
||||
*/
|
||||
public static final String TAP_GESTURE = "tap_gesture";
|
||||
|
||||
private static final Validator TAP_GESTURE_VALIDATOR = BOOLEAN_VALIDATOR;
|
||||
|
||||
/**
|
||||
* This are the settings to be backed up.
|
||||
*
|
||||
@@ -9294,6 +9302,7 @@ public final class Settings {
|
||||
VALIDATORS.put(AWARE_LOCK_ENABLED, AWARE_LOCK_ENABLED_VALIDATOR);
|
||||
VALIDATORS.put(AWARE_TAP_PAUSE_GESTURE_COUNT, NON_NEGATIVE_INTEGER_VALIDATOR);
|
||||
VALIDATORS.put(AWARE_TAP_PAUSE_TOUCH_COUNT, NON_NEGATIVE_INTEGER_VALIDATOR);
|
||||
VALIDATORS.put(TAP_GESTURE, TAP_GESTURE_VALIDATOR);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -731,6 +731,7 @@ public class SettingsBackupTest {
|
||||
Settings.Secure.SILENCE_GESTURE,
|
||||
Settings.Secure.DOZE_WAKE_LOCK_SCREEN_GESTURE,
|
||||
Settings.Secure.DOZE_WAKE_DISPLAY_GESTURE,
|
||||
Settings.Secure.TAP_GESTURE,
|
||||
Settings.Secure.FACE_UNLOCK_RE_ENROLL);
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user