Update PipContentOverlay usage
Bug: 306994352 Flag: NONE Test: m Change-Id: I0688c83c8a0bc8ff90c90af69537528adb2f792a
This commit is contained in:
1 parent
a0ed884dfd
commit
cd3064236d
1 file changed
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user