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

Commit 4c8b7953 authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

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

This reverts commit 7f97af11.
Change broke screen_on functionality when an alarm goes off.

Bug: 20096335
Bug: 18773834
parent 8d1db149
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -9889,7 +9889,7 @@ public class WindowManagerService extends IWindowManager.Stub
                            }
                            }
                        }
                        }


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


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


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


        int width;
        int width;