Merge "Remove TaskFragment Shell transition collection when startActivity" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bccd7f9dce
@@ -3037,12 +3037,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