summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorRobin Bennett <robinbennett@google.com>2018-03-28 14:49:58 +0100
committerRobin Bennett <robinbennett@google.com>2018-04-04 09:45:55 +0100
commit1193a35bcdee2df2ac3880131e8890f50019ceb1 (patch)
treed369ba87eab4a90ad048a275e87dd7ff0c7e2708 /core/java
parent1bc47a4c1d0b01d5b32bc2018212c629903da2e6 (diff)
Add setting/experiment to send keycode sleep for ungaze when Home is the
foreground activity. Bug: 77253874 Change-Id: Ic799eec8439786ae20bb366b9d4e93ec30d34070
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/provider/Settings.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 68fc6c16fe4f..e2429457fc45 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -10797,6 +10797,15 @@ public final class Settings {
= "time_only_mode_constants";
/**
+ * Whether of not to send keycode sleep for ungaze when Home is the foreground activity on
+ * watch type devices.
+ * Type: int (0 for false, 1 for true)
+ * Default: 0
+ * @hide
+ */
+ public static final String UNGAZE_SLEEP_ENABLED = "ungaze_sleep_enabled";
+
+ /**
* Whether or not Network Watchlist feature is enabled.
* Type: int (0 for false, 1 for true)
* Default: 0