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

Commit 92bc5edf authored by Wei Wang's avatar Wei Wang Committed by Android (Google) Code Review
Browse files

Merge "remove Intent.FLAG_ACTIVITY_NEW_TASK flag check" into nyc-mr1-dev

parents 01e7c10d 9e5c7126
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -9234,9 +9234,6 @@ public final class ActivityManagerService extends ActivityManagerNative
                        // sense, so turn off auto-remove.
                        intent.addFlags(Intent.FLAG_ACTIVITY_RETAIN_IN_RECENTS);
                    }
                } else if ((intent.getFlags()&Intent.FLAG_ACTIVITY_NEW_TASK) != 0) {
                    // Must be a new task.
                    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                }
                if (!comp.equals(mLastAddedTaskComponent) || callingUid != mLastAddedTaskUid) {
                    mLastAddedTaskActivity = null;