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

Commit 1f93cddd authored by Chong Zhang's avatar Chong Zhang Committed by Android (Google) Code Review
Browse files

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

parents 1fd5d21e 7f97af11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9890,7 +9890,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;