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

Commit f41bcd47 authored by Craig Mautner's avatar Craig Mautner
Browse files

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
parent 7791b84c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1140,7 +1140,7 @@ final class ActivityStack {
                    } else if (isActivityOverHome(r)) {
                    } else if (isActivityOverHome(r)) {
                        if (DEBUG_VISBILITY) Slog.v(TAG, "Showing home: at " + r);
                        if (DEBUG_VISBILITY) Slog.v(TAG, "Showing home: at " + r);
                        showHomeBehindStack = true;
                        showHomeBehindStack = true;
                        behindFullscreen = true;
                        behindFullscreen = !isHomeStack();
                    }
                    }
                } else {
                } else {
                    if (DEBUG_VISBILITY) Slog.v(
                    if (DEBUG_VISBILITY) Slog.v(