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

Commit 2ff1284e authored by Xiang Wang's avatar Xiang Wang Committed by Android (Google) Code Review
Browse files

Merge "Add some debug logging on user is not started properly"

parents c0107fcf 6abf93e7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -883,6 +883,7 @@ public final class GameManagerService extends IGameManagerService.Stub {

        @Override
        public void onUserStarting(@NonNull TargetUser user) {
            Slog.d(TAG, "Starting user " + user.getUserIdentifier());
            mService.onUserStarting(user,
                    Environment.getDataSystemDeDirectory(user.getUserIdentifier()));
        }
@@ -1047,6 +1048,8 @@ public final class GameManagerService extends IGameManagerService.Stub {
                    "com.android.server.app.GameManagerService");

            if (!mSettings.containsKey(userId)) {
                Slog.d(TAG, "Failed to set game mode for package " + packageName
                        + " as user " + userId + " is not started");
                return;
            }
            GameManagerSettings userSettings = mSettings.get(userId);