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

Commit 0c6e87b1 authored by Jeff Chang's avatar Jeff Chang Committed by Android (Google) Code Review
Browse files

Merge "Make documentLaunchMode="never" activity don’t create task" into sc-dev

parents 30664e5e 72470f01
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2707,7 +2707,8 @@ class ActivityStarter {
                    launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT;
                    break;
                case ActivityInfo.DOCUMENT_LAUNCH_NEVER:
                    launchFlags &= ~FLAG_ACTIVITY_MULTIPLE_TASK;
                    launchFlags &=
                            ~(Intent.FLAG_ACTIVITY_NEW_DOCUMENT | FLAG_ACTIVITY_MULTIPLE_TASK);
                    break;
            }
        }