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

Commit 941cc66b authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge \"remove Intent.FLAG_ACTIVITY_NEW_TASK flag check\" into...

Merge "Merge \"remove Intent.FLAG_ACTIVITY_NEW_TASK flag check\" into nyc-mr1-dev am: 92bc5edf" into nyc-mr1-dev-plus-aosp
parents db784162 36f95d27
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -9260,9 +9260,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;