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

Commit df52a61e authored by Hongwei Wang's avatar Hongwei Wang Committed by Android Build Coastguard Worker
Browse files

Revert "Make sure both transition start/end callback sent"

This reverts commit 0898cdf6.

Reason for revert: b/352475079
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4afb345761220fe2bfcbb03d3b98aa4948bd40bb)
Merged-In: I7ee58fb6d73f92270440ce54c38dfd9a3f0eeb7b
Change-Id: I7ee58fb6d73f92270440ce54c38dfd9a3f0eeb7b
parent a024ce0f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -496,9 +496,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
        ProtoLog.d(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
                "startSwipePipToHome: %s, state=%s", componentName, mPipTransitionState);
        mPipTransitionState.setInSwipePipToHomeTransition(true);
        if (!ENABLE_SHELL_TRANSITIONS) {
        sendOnPipTransitionStarted(TRANSITION_DIRECTION_TO_PIP);
        }
        setBoundsStateForEntry(componentName, pictureInPictureParams, activityInfo);
        return mPipBoundsAlgorithm.getEntryDestinationBounds();
    }
+0 −1
Original line number Diff line number Diff line
@@ -1174,7 +1174,6 @@ public class PipTransition extends PipTransitionController {
        }

        final Rect sourceBounds = pipTaskInfo.configuration.windowConfiguration.getBounds();
        sendOnPipTransitionStarted(TRANSITION_DIRECTION_TO_PIP);
        final PipAnimationController.PipTransitionAnimator animator =
                mPipAnimationController.getAnimator(pipTaskInfo, leash, sourceBounds, sourceBounds,
                        destinationBounds, sourceHintRect, TRANSITION_DIRECTION_TO_PIP,