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

Commit 8eb8696f authored by Hongwei Wang's avatar Hongwei Wang Committed by Android (Google) Code Review
Browse files

Merge "Cleanup alpha animation type after use" into main

parents 10d9499d 4e9fc478
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -999,7 +999,6 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,

    private void onEndOfSwipePipToHomeTransition() {
        if (Transitions.ENABLE_SHELL_TRANSITIONS) {
            mPipTransitionController.setEnterAnimationType(ANIM_TYPE_BOUNDS);
            return;
        }

+2 −0
Original line number Diff line number Diff line
@@ -1083,6 +1083,8 @@ public class PipTransition extends PipTransitionController {
            mSurfaceTransactionHelper
                    .crop(finishTransaction, leash, destinationBounds)
                    .round(finishTransaction, leash, true /* applyCornerRadius */);
            // Always reset to bounds animation type afterwards.
            setEnterAnimationType(ANIM_TYPE_BOUNDS);
        } else {
            throw new RuntimeException("Unrecognized animation type: " + enterAnimationType);
        }