Merge "Deliver latest intent extras to recents" into rvc-dev

This commit is contained in:
Louis Chang
2020-06-15 00:53:56 +00:00
committed by Android (Google) Code Review

View File

@@ -233,6 +233,8 @@ class RecentsAnimation implements RecentsAnimationCallbacks,
// duration of the gesture that is driven by the recents component // duration of the gesture that is driven by the recents component
targetActivity.mLaunchTaskBehind = true; targetActivity.mLaunchTaskBehind = true;
mLaunchedTargetActivity = targetActivity; mLaunchedTargetActivity = targetActivity;
// TODO(b/156772625): Evaluate to send new intents vs. replacing the intent extras.
targetActivity.intent.replaceExtras(mTargetIntent);
// Fetch all the surface controls and pass them to the client to get the animation // Fetch all the surface controls and pass them to the client to get the animation
// started. Cancel any existing recents animation running synchronously (do not hold the // started. Cancel any existing recents animation running synchronously (do not hold the