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

Commit f3d6c6cd authored by Felipe Leme's avatar Felipe Leme
Browse files

Includes config_canSwitchToHeadlessSystemUser on dumpsys user.

Bug: 391913130
Test: adb shell dumpsys user | grep 'Can switch to headless system user'
Flag: EXEMPT (debug info only)

Change-Id: Ib2b9af161f7ecc74fa507c5decfb1f535d968f47
parent 3dcc4555
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -60,7 +60,6 @@ import android.annotation.RequiresPermission;
import android.annotation.SpecialUsers.CanBeALL;
import android.annotation.SpecialUsers.CanBeCURRENT;
import android.annotation.SpecialUsers.CanBeNULL;
import android.annotation.SpecialUsers.CannotBeSpecialUser;
import android.annotation.StringRes;
import android.annotation.UserIdInt;
import android.app.ActivityManager;
@@ -7551,6 +7550,10 @@ public class UserManagerService extends IUserManager.Stub {
                pw.println("  (and being updated after boot)");
            }
        }
        if (isHeadlessSystemUserMode) {
            pw.println("  Can switch to headless system user: " + Resources.getSystem()
                    .getBoolean(com.android.internal.R.bool.config_canSwitchToHeadlessSystemUser));
        }
        pw.println("  User version: " + mUserVersion);
        pw.println("  Owner name: " + getOwnerName());
        if (DBG_ALLOCATION) {