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

Commit 8b6903a7 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

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

Merge "Merge "Fix the round corner and crop issue after auto-enter-pip" into sc-dev am: 4f2967f7 am: 71d9bd0b" into sc-v2-dev-plus-aosp
parents e8c765ae 49c6d7e0
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() {