Loading libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTransition.java +6 −1 Original line number Diff line number Diff line Loading @@ -1173,7 +1173,12 @@ public class PipTransition extends PipTransitionController { .setLayer(swipePipToHomeOverlay, Integer.MAX_VALUE); } final Rect sourceBounds = pipTaskInfo.configuration.windowConfiguration.getBounds(); // Both Shell and Launcher calculate their own "adjusted" source-rect-hint values based on // appBounds being source bounds when entering PiP. final Rect sourceBounds = swipePipToHomeOverlay == null ? pipTaskInfo.configuration.windowConfiguration.getBounds() : mPipOrganizer.mAppBounds; final PipAnimationController.PipTransitionAnimator animator = mPipAnimationController.getAnimator(pipTaskInfo, leash, sourceBounds, sourceBounds, destinationBounds, sourceHintRect, TRANSITION_DIRECTION_TO_PIP, Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTransition.java +6 −1 Original line number Diff line number Diff line Loading @@ -1173,7 +1173,12 @@ public class PipTransition extends PipTransitionController { .setLayer(swipePipToHomeOverlay, Integer.MAX_VALUE); } final Rect sourceBounds = pipTaskInfo.configuration.windowConfiguration.getBounds(); // Both Shell and Launcher calculate their own "adjusted" source-rect-hint values based on // appBounds being source bounds when entering PiP. final Rect sourceBounds = swipePipToHomeOverlay == null ? pipTaskInfo.configuration.windowConfiguration.getBounds() : mPipOrganizer.mAppBounds; final PipAnimationController.PipTransitionAnimator animator = mPipAnimationController.getAnimator(pipTaskInfo, leash, sourceBounds, sourceBounds, destinationBounds, sourceHintRect, TRANSITION_DIRECTION_TO_PIP, Loading