Merge "Remove TODO as no needed to change after revisit" into udc-dev

This commit is contained in:
Louis Chang
2023-03-28 06:34:13 +00:00
committed by Android (Google) Code Review

View File

@@ -2947,8 +2947,6 @@ class ActivityStarter {
if (differentTopTask && !mAvoidMoveToFront) {
mStartActivity.intent.addFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);
// TODO(b/264487981): Consider using BackgroundActivityStartController to determine
// whether to bring the launching activity to the front.
if (mSourceRecord == null || inTopNonFinishingTask(mSourceRecord)) {
// We really do want to push this one into the user's face, right now.
if (mLaunchTaskBehind && mSourceRecord != null) {