From f41bcd47eac4c40fd51fac43c66fb2b5f754a9da Mon Sep 17 00:00:00 2001 From: Craig Mautner Date: Thu, 7 Nov 2013 11:51:29 -0800 Subject: [PATCH] If home activity is not fullscreen keep drilling. When the home activity launches a non-fullscreen activity as part of its own task then ensureActivitiesVisibleLocked() must continue past the launched activity when determining activities to show and hide. Stopping at the non-fullscreen activity leaves the fullscreen home activity hidden. Fixes bug 11555762. Change-Id: I9058d8cde3a41cb7f9b1f97e5c0cb32e9b0f5af7 --- services/java/com/android/server/am/ActivityStack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/java/com/android/server/am/ActivityStack.java b/services/java/com/android/server/am/ActivityStack.java index 8337613f32a1d..956a5978388e3 100644 --- a/services/java/com/android/server/am/ActivityStack.java +++ b/services/java/com/android/server/am/ActivityStack.java @@ -1140,7 +1140,7 @@ final class ActivityStack { } else if (isActivityOverHome(r)) { if (DEBUG_VISBILITY) Slog.v(TAG, "Showing home: at " + r); showHomeBehindStack = true; - behindFullscreen = true; + behindFullscreen = !isHomeStack(); } } else { if (DEBUG_VISBILITY) Slog.v(