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

Commit cd306423 authored by Chris Li's avatar Chris Li
Browse files

Update PipContentOverlay usage

Bug: 306994352
Flag: NONE
Test: m
Change-Id: I0688c83c8a0bc8ff90c90af69537528adb2f792a
parent a0ed884d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -159,8 +159,8 @@ public class SwipePipToHomeAnimator extends RectFSpringAnim {
            // to other classes like PipTaskOrganizer / RecentsAnimationController to complete
            // the cleanup.
            mPipContentOverlay = new PipContentOverlay.PipAppIconOverlay(view.getContext(),
                    mAppBounds, new IconProvider(context).getIcon(mActivityInfo),
                    appIconSizePx);
                    mAppBounds, mDestinationBounds,
                    new IconProvider(context).getIcon(mActivityInfo), appIconSizePx);
            final SurfaceControl.Transaction tx = new SurfaceControl.Transaction();
            mPipContentOverlay.attach(tx, mLeash);
        } else {