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

Commit 034dfe3a authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "Fix surfaceInset adjustment." into nyc-dev am: 663330a3

am: 00c44045

* commit '00c44045':
  Fix surfaceInset adjustment.

Change-Id: Ie473ab1eabd897434b642765bffa46cbba22e2cc
parents e9715cbc 00c44045
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -829,8 +829,8 @@ class WindowStateAnimator {
        // Adjust for surface insets.
        mTmpSize.left -= scale * attrs.surfaceInsets.left;
        mTmpSize.top -= scale * attrs.surfaceInsets.top;
        mTmpSize.right += scale * (attrs.surfaceInsets.left + attrs.surfaceInsets.right);
        mTmpSize.bottom += scale * (attrs.surfaceInsets.top + attrs.surfaceInsets.bottom);
        mTmpSize.right += scale * attrs.surfaceInsets.right;
        mTmpSize.bottom += scale * attrs.surfaceInsets.bottom;
    }

    boolean hasSurface() {