From 6403b4050f057659bd22f8e7d76d2d0978d9d296 Mon Sep 17 00:00:00 2001 From: Doris Ling Date: Fri, 9 Sep 2016 14:29:19 -0700 Subject: [PATCH] Add secure settings for Ambient Display pick up and double tap gestures. Splitting Ambient Display pulse configuration to have separate control for incoming notification, pick up gesture, and double tap gesture. Adding separate secure settings for the separate control. Test: make SettingsTests and verify read/write of the new settings. Bug: 30595437 Change-Id: Ic301c3234689d9132c283edf86962d1cfb640a28 --- core/java/android/provider/Settings.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 79f11513e7989..9637b46942e6b 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -5928,6 +5928,18 @@ public final class Settings { */ public static final String DOZE_ENABLED = "doze_enabled"; + /** + * Whether the device should pulse on pick up gesture. + * @hide + */ + public static final String DOZE_PULSE_ON_PICK_UP = "doze_pulse_on_pick_up"; + + /** + * Whether the device should pulse on double tap gesture. + * @hide + */ + public static final String DOZE_PULSE_ON_DOUBLE_TAP = "doze_pulse_on_double_tap"; + /** * The current night mode that has been selected by the user. Owned * and controlled by UiModeManagerService. Constants are as per @@ -6413,6 +6425,9 @@ public final class Settings { CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, SYSTEM_NAVIGATION_KEYS_ENABLED, QS_TILES, + DOZE_ENABLED, + DOZE_PULSE_ON_PICK_UP, + DOZE_PULSE_ON_DOUBLE_TAP }; /**