Merge "Change visibility check to WC.isVisible" into rvc-dev am: f16e13cc01
Change-Id: I57f54e63f15c0356bf2111d08ff2af6a32a5c569
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user