Merge "Add new dock setup states to state enum" into tm-qpr-dev

This commit is contained in:
Lucas Silva
2023-01-13 18:38:28 +00:00
committed by Android (Google) Code Review

View File

@@ -9232,6 +9232,14 @@ public final class Settings {
*/ */
public static final int DOCK_SETUP_PROMPTED = 3; 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. * Indicates that the user has completed dock setup.
* One of the possible states for {@link #DOCK_SETUP_STATE}. * 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; 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 */ /** @hide */
@Retention(RetentionPolicy.SOURCE) @Retention(RetentionPolicy.SOURCE)
@IntDef({ @IntDef({
@@ -9247,7 +9263,9 @@ public final class Settings {
DOCK_SETUP_STARTED, DOCK_SETUP_STARTED,
DOCK_SETUP_PAUSED, DOCK_SETUP_PAUSED,
DOCK_SETUP_PROMPTED, DOCK_SETUP_PROMPTED,
DOCK_SETUP_COMPLETED DOCK_SETUP_INCOMPLETE,
DOCK_SETUP_COMPLETED,
DOCK_SETUP_TIMED_OUT
}) })
public @interface DockSetupState { public @interface DockSetupState {
} }