am dfe0d9a0: Merge "Change order of operations so flag is not overwritten" into klp-dev
* commit 'dfe0d9a040707c72aab20c54718d0b5f1bab56ff': Change order of operations so flag is not overwritten
This commit is contained in:
@@ -1471,13 +1471,13 @@ public final class ActivityStackSupervisor {
|
||||
// We really do want to push this one into the
|
||||
// user's face, right now.
|
||||
movedHome = true;
|
||||
targetStack.moveTaskToFrontLocked(intentActivity.task, r, options);
|
||||
if ((launchFlags &
|
||||
(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_TASK_ON_HOME))
|
||||
== (FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_TASK_ON_HOME)) {
|
||||
// Caller wants to appear on home activity.
|
||||
intentActivity.task.mOnTopOfHome = true;
|
||||
}
|
||||
targetStack.moveTaskToFrontLocked(intentActivity.task, r, options);
|
||||
options = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user