Merge "Remove TaskFragment Shell transition collection when startActivity" into tm-qpr-dev am: bccd7f9dce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20419286 Change-Id: Idf8a3eed89b76e4e052c8fb4410b56a15de23fa1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2760,12 +2760,6 @@ class ActivityStarter {
|
||||
newParent = candidateTf;
|
||||
}
|
||||
}
|
||||
if (newParent.asTask() == null) {
|
||||
// only collect task-fragments.
|
||||
// TODO(b/258095975): we probably shouldn't ever collect the parent here since it isn't
|
||||
// changing. The logic that changes it should collect it.
|
||||
newParent.mTransitionController.collect(newParent);
|
||||
}
|
||||
if (mStartActivity.getTaskFragment() == null
|
||||
|| mStartActivity.getTaskFragment() == newParent) {
|
||||
newParent.addChild(mStartActivity, POSITION_TOP);
|
||||
|
||||
Reference in New Issue
Block a user