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: Id0e35e338337bb683fdd737061b4e46d9a09e8e3
This commit is contained in:
Louis Chang
2020-06-15 01:12:34 +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