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

Commit 91a5dd9b authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android Git Automerger
Browse files

am e6a2ff2b: Merge "Fix calculation of overscan insets in WindowState." into lmp-mr1-dev

* commit 'e6a2ff2b':
  Fix calculation of overscan insets in WindowState.
parents e52a2ea0 e6a2ff2b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -617,8 +617,8 @@ final class WindowState implements WindowManagerPolicy.WindowState {

        mOverscanInsets.set(Math.max(mOverscanFrame.left - mFrame.left, 0),
                Math.max(mOverscanFrame.top - mFrame.top, 0),
                Math.max(mFrame.right - mOverscanFrame.right, 0),
                Math.max(mFrame.bottom - mOverscanFrame.bottom, 0));
                Math.min(mFrame.right - mOverscanFrame.right, 0),
                Math.min(mFrame.bottom - mOverscanFrame.bottom, 0));

        mContentInsets.set(mContentFrame.left - mFrame.left,
                mContentFrame.top - mFrame.top,