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

Commit 62be0824 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: ea84ad75

* commit 'ea84ad75':
  Fix surfaceInset adjustment.

Change-Id: I37b96b4a773e9f53bd143fc1f55a9f633794f8b2
parents e9715cbc ea84ad75
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() {