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

Commit 7f97af11 authored by Chong Zhang's avatar Chong Zhang
Browse files

fix the flash caused by missing setMatrix() when surface size changes

bug: 18773834

Change-Id: I16e2f896e6fd70e9b130bb55ecefa8c2f08c684a
parent 3640409f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9883,7 +9883,7 @@ public class WindowManagerService extends IWindowManager.Stub
                            }
                        }

                        winAnimator.setSurfaceBoundariesLocked(recoveringMemory);
                        winAnimator.prepareSurfaceLocked(recoveringMemory);

                        final AppWindowToken atoken = w.mAppToken;
                        if (DEBUG_STARTING_WINDOW && atoken != null
+1 −1
Original line number Diff line number Diff line
@@ -1341,7 +1341,7 @@ class WindowStateAnimator {
        }
    }

    void setSurfaceBoundariesLocked(final boolean recoveringMemory) {
    private void setSurfaceBoundariesLocked(final boolean recoveringMemory) {
        final WindowState w = mWin;

        int width;