Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1193a35b authored by Robin Bennett's avatar Robin Bennett
Browse files

Add setting/experiment to send keycode sleep for ungaze when Home is the

foreground activity.

Bug: 77253874

Change-Id: Ic799eec8439786ae20bb366b9d4e93ec30d34070
parent 1bc47a4c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -10796,6 +10796,15 @@ public final class Settings {
        public static final String TIME_ONLY_MODE_CONSTANTS
                = "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)
+1 −0
Original line number Diff line number Diff line
@@ -409,6 +409,7 @@ public class SettingsBackupTest {
                    Settings.Global.UNINSTALLED_INSTANT_APP_MIN_CACHE_PERIOD,
                    Settings.Global.UNINSTALLED_INSTANT_APP_MAX_CACHE_PERIOD,
                    Settings.Global.UNUSED_STATIC_SHARED_LIB_MIN_CACHE_PERIOD,
                    Settings.Global.UNGAZE_SLEEP_ENABLED,
                    Settings.Global.UNLOCK_SOUND,
                    Settings.Global.USE_GOOGLE_MAIL,
                    Settings.Global.VT_IMS_ENABLED,