Don't compare intent filters on singleTask adjacent launch

Bug: 29578845
Change-Id: Ic1614fc1f321e80ffdc2ab498d720657f393c239
This commit is contained in:
Andrii Kulian
2016-06-22 17:16:45 -07:00
parent ec6db57ac7
commit 039ba48973

View File

@@ -1425,7 +1425,8 @@ class ActivityStarter {
} else if ((mLaunchFlags & FLAG_ACTIVITY_LAUNCH_ADJACENT) != 0) {
// For the launch adjacent case we only want to put the activity in an existing
// task if the activity already exists in the history.
intentActivity = mSupervisor.findActivityLocked(mIntent, mStartActivity.info, true);
intentActivity = mSupervisor.findActivityLocked(mIntent, mStartActivity.info,
!mLaunchSingleTask);
} else {
// Otherwise find the best task to put the activity in.
intentActivity = mSupervisor.findTaskLocked(mStartActivity);