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

Commit ba88111e authored by Jeff Chang's avatar Jeff Chang Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13765350

Change-Id: I5231b939b1ee1c70a6173755f3e21558998f5845
parents 3441946a 0c6e87b1
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;
            }
        }