diff options
| author | 2018-12-19 00:51:58 +0000 | |
|---|---|---|
| committer | 2018-12-19 00:51:58 +0000 | |
| commit | 07b765f085a76f63762aceea986787438910791e (patch) | |
| tree | d5518dae160d8d6068b05e0e234084a82afd6a39 | |
| parent | 3541a6443655d4e48e9d0da797b491815b86ecd7 (diff) | |
| parent | c3f29da921367cf7ef63008bc899edcb821a8f2b (diff) | |
Merge "Do not report resized before sending new configuration"
| -rw-r--r-- | services/core/java/com/android/server/wm/RootWindowContainer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/RootWindowContainer.java b/services/core/java/com/android/server/wm/RootWindowContainer.java index 801e5f2038ad..dcade2f012db 100644 --- a/services/core/java/com/android/server/wm/RootWindowContainer.java +++ b/services/core/java/com/android/server/wm/RootWindowContainer.java @@ -794,8 +794,9 @@ class RootWindowContainer extends WindowContainer<DisplayContent> private void handleResizingWindows() { for (int i = mWmService.mResizingWindows.size() - 1; i >= 0; i--) { WindowState win = mWmService.mResizingWindows.get(i); - if (win.mAppFreezing) { - // Don't remove this window until rotation has completed. + if (win.mAppFreezing || win.getDisplayContent().mWaitingForConfig) { + // Don't remove this window until rotation has completed and is not waiting for the + // complete configuration. continue; } win.reportResized(); |