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

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

Change-Id: I96dfb3dc2d742a1e5091e2df1ceeef3ad99a217e
This commit is contained in:
Louis Chang
2020-06-15 01:01:13 +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
targetActivity.mLaunchTaskBehind = true;
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
// started. Cancel any existing recents animation running synchronously (do not hold the