Skip to content

Commit b67c63b

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Set mOrientationChangeComplete after windows drawn."
2 parents 9177947 + 924c215 commit b67c63b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/java/com/android/server/wm/WindowAnimator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ private void testTokenMayBeDrawnLocked() {
394394
"Setting mOrientationChangeComplete=true because wtoken "
395395
+ wtoken + " numInteresting=" + numInteresting
396396
+ " numDrawn=" + wtoken.numDrawnWindows);
397+
// This will set mOrientationChangeComplete and cause a pass through layout.
398+
mPendingLayoutChanges |= WindowManagerPolicy.FINISH_LAYOUT_REDO_WALLPAPER;
397399
}
398400
} else if (!wtoken.allDrawn) {
399401
int numInteresting = wtoken.numInterestingWindows;

0 commit comments

Comments
 (0)