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

Commit 20583ff9 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #2015611: layering problem when moving an activity to the foreground.

"surface of singleTop acitivy is not added at the top, causing the activity is resumed
behind the top activity."
parent ecbbecf6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -8179,7 +8179,9 @@ public class WindowManagerService extends IWindowManager.Stub implements Watchdo
                        // This has changed the visibility of windows, so perform
                        // a new layout to get them all up-to-date.
                        mLayoutNeeded = true;
                        moveInputMethodWindowsIfNeededLocked(true);
                        if (!moveInputMethodWindowsIfNeededLocked(true)) {
                            assignLayersLocked();
                        }
                        performLayoutLockedInner();
                        updateFocusedWindowLocked(UPDATE_FOCUS_PLACING_SURFACES);