commit | 23c210c9e5ae8d2be7a3d0449bce0890f5932ecf | [log] [tgz] |
---|---|---|
author | Andrii Kulian <akulian@google.com> | Wed May 30 08:47:42 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Wed May 30 08:47:42 2018 -0700 |
tree | 6fca253695dea7786a80d2700057c051289c0d8a | |
parent | 388e1096f95a8084ea6cd54121eb10d788b32180 [diff] | |
parent | fd592ffb635f31cb92431390ca60d2f1fae475c2 [diff] |
Don't update configuration for invisible windows am: 3dcdf64cf6 am: fd592ffb63 Change-Id: Ic312ac2db980be5351cf3b76478d15b9f8d80f65
diff --git a/services/core/java/com/android/server/wm/WindowState.java b/services/core/java/com/android/server/wm/WindowState.java index d580496..a18d34b 100644 --- a/services/core/java/com/android/server/wm/WindowState.java +++ b/services/core/java/com/android/server/wm/WindowState.java
@@ -1764,7 +1764,7 @@ @Override void onResize() { final ArrayList<WindowState> resizingWindows = mService.mResizingWindows; - if (mHasSurface && !resizingWindows.contains(this)) { + if (mHasSurface && !isGoneForLayoutLw() && !resizingWindows.contains(this)) { if (DEBUG_RESIZE) Slog.d(TAG, "onResize: Resizing " + this); resizingWindows.add(this); }