summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2020-06-15 00:53:56 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-06-15 00:53:56 +0000
commit5463497bed15a30ce8924640b74971d935a41e8c (patch)
treed60b505e43951b4b560149c8a74368dcced41087
parent5bef1eb6da7e56312a94ea6c48223649228a430d (diff)
parentf86dc0d69752e713fd172b1c451eb4960a78761f (diff)
Merge "Deliver latest intent extras to recents" into rvc-dev
-rw-r--r--services/core/java/com/android/server/wm/RecentsAnimation.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/wm/RecentsAnimation.java b/services/core/java/com/android/server/wm/RecentsAnimation.java
index bded65141a3a..178082016bbb 100644
--- a/services/core/java/com/android/server/wm/RecentsAnimation.java
+++ b/services/core/java/com/android/server/wm/RecentsAnimation.java
@@ -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