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

Commit 787bacd3 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am a54f2b16: am 8bed4843: am d720dedb: Merge "Clear the previous states before...

am a54f2b16: am 8bed4843: am d720dedb: Merge "Clear the previous states before setting the new app visibility"

* commit 'a54f2b16':
  Clear the previous states before setting the new app visibility
parents 249e6c8c a54f2b16
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4615,6 +4615,11 @@ public class WindowManagerService extends IWindowManager.Stub
            wtoken.waitingToShow = wtoken.waitingToHide = false;
            wtoken.hiddenRequested = !visible;

            mOpeningApps.remove(wtoken);
            mClosingApps.remove(wtoken);
            wtoken.waitingToShow = wtoken.waitingToHide = false;
            wtoken.hiddenRequested = !visible;

            // If we are preparing an app transition, then delay changing
            // the visibility of this token until we execute that transition.
            if (okToDisplay() && mAppTransition.isTransitionSet()) {