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

Commit 7e9c809b authored by Hongwei Wang's avatar Hongwei Wang Committed by Automerger Merge Worker
Browse files

Merge "Fix the round corner and crop issue after auto-enter-pip" into sc-dev...

Merge "Fix the round corner and crop issue after auto-enter-pip" into sc-dev am: 4f2967f7 am: 0ca4e857

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15176303

Change-Id: Id94903e308cbf16980ca16fdc19937fe85cdc43a
parents 0bff616f 0ca4e857
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5942,9 +5942,9 @@ class Task extends TaskFragment {
        mLastRecentsAnimationTransaction = null;
        mLastRecentsAnimationOverlay = null;
        // reset also the crop and transform introduced by mLastRecentsAnimationTransaction
        Rect bounds = getBounds();
        getPendingTransaction().setMatrix(mSurfaceControl, Matrix.IDENTITY_MATRIX, new float[9])
                .setWindowCrop(mSurfaceControl, bounds.width(), bounds.height());
                .setWindowCrop(mSurfaceControl, null)
                .setCornerRadius(mSurfaceControl, 0);
    }

    void maybeApplyLastRecentsAnimationTransaction() {