Skip to content

Commit 65f23e7

Browse files
Jean-Baptiste QueruAndroid Code Review
authored andcommitted
Merge "Corrected visibility reporting error in WindowManager"
2 parents 2aaa1ce + 3935770 commit 65f23e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/java/com/android/server/WindowManagerService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8760,7 +8760,8 @@ void updateReportedVisibilityLocked() {
87608760
WindowState win = allAppWindows.get(i);
87618761
if (win == startingWindow || win.mAppFreezing
87628762
|| win.mViewVisibility != View.VISIBLE
8763-
|| win.mAttrs.type == TYPE_APPLICATION_STARTING) {
8763+
|| win.mAttrs.type == TYPE_APPLICATION_STARTING
8764+
|| win.mDestroying) {
87648765
continue;
87658766
}
87668767
if (DEBUG_VISIBILITY) {

0 commit comments

Comments
 (0)