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

Commit 621db815 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix for a test broken due to removing logcat msgs" into rvc-dev

parents 37e724b1 eb139e77
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -162,9 +162,6 @@ class UserController implements Handler.Callback {
    // when it never calls back.
    private static final int USER_SWITCH_CALLBACKS_TIMEOUT_MS = 5 * 1000;

    // TODO(b/149604218): STOPSHIP remove  this constant and the logcat
    private static final boolean TESTS_NEED_LOGCAT = true;

    // Used for statsd logging with UserLifecycleJourneyReported + UserLifecycleEventOccurred atoms
    private static final long INVALID_SESSION_ID = 0;

@@ -1721,9 +1718,6 @@ class UserController implements Handler.Callback {
    }

    void continueUserSwitch(UserState uss, int oldUserId, int newUserId) {
        if (TESTS_NEED_LOGCAT) {
            Slog.d(TAG, "Continue user switch oldUser #" + oldUserId + ", newUser #" + newUserId);
        }
        EventLog.writeEvent(EventLogTags.UC_CONTINUE_USER_SWITCH, oldUserId, newUserId);

        if (isUserSwitchUiEnabled()) {