Merge "Polish ActivityEmbedding Shell animation when open a split pair" into tm-qpr-dev am: fcfa500483

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

Change-Id: Ie938334311eda06cee74ed0aff2e0de7189c810b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Chris Li
2022-09-23 06:06:27 +00:00
committed by Automerger Merge Worker

View File

@@ -285,7 +285,8 @@ class ActivityEmbeddingAnimationRunner {
}
final Animation animation;
if (!TransitionInfo.isIndependent(change, info)) {
if (change.getParent() != null
&& handledChanges.contains(info.getChange(change.getParent()))) {
// No-op if it will be covered by the changing parent window.
animation = ActivityEmbeddingAnimationSpec.createNoopAnimation(change);
} else if (Transitions.isClosingType(change.getMode())) {