From 65790f215eacc5893cbcc7159bc18756b4184561 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 2 May 2016 14:21:22 -0600 Subject: [PATCH] Yell when no home app was found. If we didn't find a home app, the boot just appears to be wedged and it's hard to investigate what the root-cause is. Let's log to make it more obvious. Bug: 28465914 Change-Id: I9697af83eb27efb54f1f703506d4f148c96425b0 --- .../core/java/com/android/server/am/ActivityManagerService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index ddb9b8af1befb..c0e4fa9727cf1 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -3789,6 +3789,8 @@ public final class ActivityManagerService extends ActivityManagerNative intent.setFlags(intent.getFlags() | Intent.FLAG_ACTIVITY_NEW_TASK); mActivityStarter.startHomeActivityLocked(intent, aInfo, reason); } + } else { + Slog.wtf(TAG, "No home screen found for " + intent, new Throwable()); } return true;