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

Commit 5930f8a3 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Use the correct TransitionINfo when creating recent leashes"

parents bcf19931 ad7d5d34
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -270,7 +270,7 @@ public class RemoteTransitionCompat implements Parcelable {
                mOpeningLeashes.add(openingTasks.get(i).getLeash());
                mOpeningLeashes.add(openingTasks.get(i).getLeash());
                // We are receiving new opening tasks, so convert to onTasksAppeared.
                // We are receiving new opening tasks, so convert to onTasksAppeared.
                final RemoteAnimationTargetCompat target = new RemoteAnimationTargetCompat(
                final RemoteAnimationTargetCompat target = new RemoteAnimationTargetCompat(
                        openingTasks.get(i), layer, mInfo, t);
                        openingTasks.get(i), layer, info, t);
                mLeashMap.put(mOpeningLeashes.get(i), target.leash.mSurfaceControl);
                mLeashMap.put(mOpeningLeashes.get(i), target.leash.mSurfaceControl);
                t.reparent(target.leash.mSurfaceControl, mInfo.getRootLeash());
                t.reparent(target.leash.mSurfaceControl, mInfo.getRootLeash());
                t.setLayer(target.leash.mSurfaceControl, layer);
                t.setLayer(target.leash.mSurfaceControl, layer);