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

Commit 05892e43 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: Ia0d73a4370f9a42644d7ad2f63443c2221391b3d
parents cf8743b3 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) {