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

Commit 36f95d27 authored by Wei Wang's avatar Wei Wang Committed by android-build-merger
Browse files

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

am: 92bc5edf

Change-Id: I70c9ad37c5e81167ea71b3fa82a8699f8efec221
parents 230791cf 92bc5edf
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;