Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07b765f0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not report resized before sending new configuration"

parents 3541a644 c3f29da9
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -794,8 +794,9 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
    private void handleResizingWindows() {
    private void handleResizingWindows() {
        for (int i = mWmService.mResizingWindows.size() - 1; i >= 0; i--) {
        for (int i = mWmService.mResizingWindows.size() - 1; i >= 0; i--) {
            WindowState win = mWmService.mResizingWindows.get(i);
            WindowState win = mWmService.mResizingWindows.get(i);
            if (win.mAppFreezing) {
            if (win.mAppFreezing || win.getDisplayContent().mWaitingForConfig) {
                // Don't remove this window until rotation has completed.
                // Don't remove this window until rotation has completed and is not waiting for the
                // complete configuration.
                continue;
                continue;
            }
            }
            win.reportResized();
            win.reportResized();