Merge "Only show launcher for the bottom activity in a task" into klp-dev

This commit is contained in:
Craig Mautner
2013-09-20 00:51:20 +00:00
committed by Android (Google) Code Review

View File

@@ -1083,7 +1083,7 @@ final class ActivityStack {
// At this point, nothing else needs to be shown
if (DEBUG_VISBILITY) Slog.v(TAG, "Fullscreen: at " + r);
behindFullscreen = true;
} else if (task.mOnTopOfHome) {
} else if (task.mActivities.indexOf(r) == 0 && task.mOnTopOfHome) {
if (DEBUG_VISBILITY) Slog.v(TAG, "Showing home: at " + r);
showHomeBehindStack = true;
behindFullscreen = true;