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

Commit 429bd452 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Finally give UserController its own logcat tag" into main

parents 5f776e72 a78c2231
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -40,8 +40,6 @@ import static android.os.Process.SYSTEM_UID;

import static com.android.internal.util.FrameworkStatsLog.BOOT_TIME_EVENT_ELAPSED_TIME__EVENT__FRAMEWORK_LOCKED_BOOT_COMPLETED;
import static com.android.server.am.ActivityManagerDebugConfig.DEBUG_MU;
import static com.android.server.am.ActivityManagerDebugConfig.TAG_AM;
import static com.android.server.am.ActivityManagerDebugConfig.TAG_WITH_CLASS_NAME;
import static com.android.server.am.ActivityManagerService.MY_PID;
import static com.android.server.am.UserState.STATE_BOOTING;
import static com.android.server.am.UserState.STATE_RUNNING_LOCKED;
@@ -175,7 +173,7 @@ import java.util.function.BiConsumer;
 * may cause lock inversion.
 */
class UserController implements Handler.Callback {
    private static final String TAG = TAG_WITH_CLASS_NAME ? "UserController" : TAG_AM;
    private static final String TAG = UserController.class.getSimpleName();

    // Amount of time we wait for observers to handle a user switch before
    // giving up on them and dismissing the user switching dialog.
+1 −4
Original line number Diff line number Diff line
@@ -16,9 +16,6 @@

package com.android.server.am;

import static com.android.server.am.ActivityManagerDebugConfig.TAG_AM;
import static com.android.server.am.ActivityManagerDebugConfig.TAG_WITH_CLASS_NAME;

import android.annotation.UserIdInt;
import android.app.IStopUserCallback;
import android.os.Trace;
@@ -33,7 +30,7 @@ import java.io.PrintWriter;
import java.util.ArrayList;

public final class UserState {
    private static final String TAG = TAG_WITH_CLASS_NAME ? "UserState" : TAG_AM;
    private static final String TAG = "UserController.UserState";

    // user doesn't exist.
    public static final int STATE_NONE = -1;