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

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

Merge "Fix surfaceInset adjustment." into nyc-dev

am: 663330a3

* commit '663330a3':
  Fix surfaceInset adjustment.

Change-Id: I9274121cdbd8ea8ed656478b98d6cd4b740834b8
parents 5e7d6e6d 663330a3
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() {