From 7132ff527ff970b2146f67ca18e677b082a5a36a Mon Sep 17 00:00:00 2001 From: Darrell Shi Date: Thu, 27 Jan 2022 01:22:42 +0000 Subject: [PATCH] Add settings key for storing timeout to user 0 preference. Bug: 213906356 Test: manual Change-Id: Ic9c65e58a3f399753349dfcba20a1193a6f0eb00 --- core/java/android/provider/Settings.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 14055ac19e5be..3fe5f367ab55f 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -10047,6 +10047,13 @@ public final class Settings { @Readable public static final String QS_AUTO_ADDED_TILES = "qs_auto_tiles"; + /** + * The duration of timeout, in milliseconds, to switch from a non-primary user to the + * primary user when the device is docked. + * @hide + */ + public static final String TIMEOUT_TO_USER_ZERO = "timeout_to_user_zero"; + /** * Backup manager behavioral parameters. * This is encoded as a key=value list, separated by commas. Ex: