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

Commit 15500f3d authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Merge "Never consider windows visible if appToken is hidden" into oc-dr1-dev

am: 8e9984ee

Change-Id: I3e2e2e639564c9fc0db9982c24229c82a93eed82
parents 380603dd 8e9984ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -290,7 +290,7 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
        boolean nowGone = mReportedVisibilityResults.nowGone;

        boolean nowDrawn = numInteresting > 0 && numDrawn >= numInteresting;
        boolean nowVisible = numInteresting > 0 && numVisible >= numInteresting;
        boolean nowVisible = numInteresting > 0 && numVisible >= numInteresting && !hidden;
        if (!nowGone) {
            // If the app is not yet gone, then it can only become visible/drawn.
            if (!nowDrawn) {