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

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

Log user id when home intent is not found.

Test: adb locat WindowManager:e *:s
Bug: 259451268

Change-Id: I0e2e42cdb163430df5f95fb67ff7d4196f418072
parent 94e790bd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -149,6 +149,7 @@ import com.android.server.am.AppTimeTracker;
import com.android.server.am.UserState;
import com.android.server.policy.PermissionPolicyInternal;
import com.android.server.policy.WindowManagerPolicy;
import com.android.server.utils.Slogf;

import java.io.FileDescriptor;
import java.io.PrintWriter;
@@ -1503,7 +1504,8 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
        }

        if (aInfo == null) {
            Slog.wtf(TAG, "No home screen found for " + homeIntent, new Throwable());
            Slogf.wtf(TAG, new Exception(), "No home screen found for %s and user %d", homeIntent,
                    userId);
            return null;
        }