Add new dock setup states to state enum
Dock setup could be incomplete or it could have timed out Bug: 265037150 Test: flashed device and verified behavior which uses these new enums Change-Id: I6e67432df5eeb81fd83c86d22b456ee1caa806fb
This commit is contained in:
@@ -9232,6 +9232,14 @@ public final class Settings {
|
||||
*/
|
||||
public static final int DOCK_SETUP_PROMPTED = 3;
|
||||
|
||||
/**
|
||||
* Indicates that the user has started dock setup but never finished it.
|
||||
* One of the possible states for {@link #DOCK_SETUP_STATE}.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static final int DOCK_SETUP_INCOMPLETE = 4;
|
||||
|
||||
/**
|
||||
* Indicates that the user has completed dock setup.
|
||||
* One of the possible states for {@link #DOCK_SETUP_STATE}.
|
||||
@@ -9240,6 +9248,14 @@ public final class Settings {
|
||||
*/
|
||||
public static final int DOCK_SETUP_COMPLETED = 10;
|
||||
|
||||
/**
|
||||
* Indicates that dock setup timed out before the user could complete it.
|
||||
* One of the possible states for {@link #DOCK_SETUP_STATE}.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static final int DOCK_SETUP_TIMED_OUT = 11;
|
||||
|
||||
/** @hide */
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@IntDef({
|
||||
@@ -9247,7 +9263,9 @@ public final class Settings {
|
||||
DOCK_SETUP_STARTED,
|
||||
DOCK_SETUP_PAUSED,
|
||||
DOCK_SETUP_PROMPTED,
|
||||
DOCK_SETUP_COMPLETED
|
||||
DOCK_SETUP_INCOMPLETE,
|
||||
DOCK_SETUP_COMPLETED,
|
||||
DOCK_SETUP_TIMED_OUT
|
||||
})
|
||||
public @interface DockSetupState {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user