Skip to content

Commit c8e3720

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Don't resize WindowStates without a Surface." into jb-dev
2 parents d8e0831 + 1efacf7 commit c8e3720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8079,7 +8079,7 @@ private int animateAwayWallpaperLocked() {
80798079

80808080
private void updateResizingWindows(final WindowState w) {
80818081
final WindowStateAnimator winAnimator = w.mWinAnimator;
8082-
if (!w.mAppFreezing && w.mLayoutSeq == mLayoutSeq) {
8082+
if (w.mHasSurface && !w.mAppFreezing && w.mLayoutSeq == mLayoutSeq) {
80838083
w.mContentInsetsChanged |=
80848084
!w.mLastContentInsets.equals(w.mContentInsets);
80858085
w.mVisibleInsetsChanged |=

0 commit comments

Comments
 (0)