Merge "Deliver latest intent extras to recents" into rvc-dev am: 5463497bed am: e6101478be

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11716080

Change-Id: I7be08f8dff92104d8d27c867624a02de5d67926d
This commit is contained in:
Louis Chang
2020-06-15 01:12:10 +00:00
committed by Automerger Merge Worker

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