Merge "Implement app icon overlay for entering PiP" into tm-qpr-dev

This commit is contained in:
Hongwei Wang
2023-02-04 03:11:00 +00:00
committed by Android (Google) Code Review
2 changed files with 27 additions and 21 deletions
@@ -1600,7 +1600,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
final SwipePipToHomeAnimator.Builder builder = new SwipePipToHomeAnimator.Builder()
.setContext(mContext)
.setTaskId(runningTaskTarget.taskId)
.setComponentName(taskInfo.topActivity)
.setActivityInfo(taskInfo.topActivityInfo)
.setLeash(runningTaskTarget.leash)
.setSourceRectHint(
runningTaskTarget.taskInfo.pictureInPictureParams.getSourceRectHint())