From 423303b0cc62b8cf2a86b66462afea407644c21e Mon Sep 17 00:00:00 2001 From: Alejandro Nijamkin Date: Tue, 11 Oct 2022 13:26:08 -0700 Subject: [PATCH] Turns on refactored UserSwitcherController. Now that we fixed all bugs discovered by QA, we can turn this on for droidfooders to see. Bug: 246631653 Test: Manually made sure that the new implementation is being hit when I attempted to add a new user on a phone Change-Id: I9fcbfb16f9468afdf486e597c36417162c5388f1 --- packages/SystemUI/src/com/android/systemui/flags/Flags.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/flags/Flags.java b/packages/SystemUI/src/com/android/systemui/flags/Flags.java index 2067e672eeb7e..268e2cafb7b94 100644 --- a/packages/SystemUI/src/com/android/systemui/flags/Flags.java +++ b/packages/SystemUI/src/com/android/systemui/flags/Flags.java @@ -116,7 +116,7 @@ public class Flags { * the framework APIs. */ public static final UnreleasedFlag USER_INTERACTOR_AND_REPO_USE_CONTROLLER = - new UnreleasedFlag(210, true); + new UnreleasedFlag(210); /** * Whether `UserSwitcherController` should use the user interactor. @@ -127,8 +127,7 @@ public class Flags { *

Note: do not set this to true if {@link #USER_INTERACTOR_AND_REPO_USE_CONTROLLER} is * {@code true} as it would created a cycle between controller -> interactor -> controller. */ - public static final UnreleasedFlag USER_CONTROLLER_USES_INTERACTOR = - new UnreleasedFlag(211, false); + public static final ReleasedFlag USER_CONTROLLER_USES_INTERACTOR = new ReleasedFlag(211); /***************************************/ // 300 - power menu