Merge "Fix issue with activity reuse for aliased components." into nyc-dev

This commit is contained in:
Rob Carr
2016-02-17 18:09:48 +00:00
committed by Android (Google) Code Review

View File

@@ -1397,7 +1397,7 @@ class ActivityStarter {
}
intentActivity.deliverNewIntentLocked(mCallingUid, mStartActivity.intent,
mStartActivity.launchedFromPackage);
} else if (!mStartActivity.intent.filterEquals(intentActivity.task.intent)) {
} else if (!mStartActivity.intent.filterEquals(intentActivity.intent)) {
// In this case we are launching the root activity of the task, but with a
// different intent. We should start a new instance on top.
mAddingToTask = true;