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

Commit f16e13cc authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Change visibility check to WC.isVisible" into rvc-dev

parents dae3eea8 784e765a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -6135,7 +6135,7 @@ public class WindowManagerService extends IWindowManager.Stub
                }
                }


                mRoot.forAllWindows((w) -> {
                mRoot.forAllWindows((w) -> {
                    if ((!visibleOnly || w.mWinAnimator.getShown())
                    if ((!visibleOnly || w.isVisible())
                            && (!appsOnly || w.mActivityRecord != null)) {
                            && (!appsOnly || w.mActivityRecord != null)) {
                        windows.add(w);
                        windows.add(w);
                    }
                    }