Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bccd7f9d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove TaskFragment Shell transition collection when startActivity" into tm-qpr-dev

parents fc0ce8aa f21c81aa
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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);