Skip to content

Commit 69e398b

Browse files
Dianne HackbornAndroid Code Review
authored andcommitted
Merge "Fix reporting of window visibility in WindowManagerService."
2 parents 4fedd80 + 3779dd1 commit 69e398b

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
@@ -8520,7 +8520,8 @@ void updateReportedVisibilityLocked() {
85208520
final int N = allAppWindows.size();
85218521
for (int i=0; i<N; i++) {
85228522
WindowState win = allAppWindows.get(i);
8523-
if (win == startingWindow || win.mAppFreezing) {
8523+
if (win == startingWindow || win.mAppFreezing
8524+
|| win.mAttrs.type == TYPE_APPLICATION_STARTING) {
85248525
continue;
85258526
}
85268527
if (DEBUG_VISIBILITY) {

0 commit comments

Comments
 (0)