am 2de55513: Merge "Only one task within the stack should moveToBack"

* commit '2de55513f81b238ea42b2b36cbf61e8c1a475c45':
  Only one task within the stack should moveToBack
This commit is contained in:
Craig Mautner
2014-12-10 17:57:34 +00:00
committed by Android Git Automerger

View File

@@ -191,7 +191,9 @@ public class TaskStack {
mTasks.add(stackNdx, task);
task.mStack = this;
mDisplayContent.moveStack(this, true);
if (toTop) {
mDisplayContent.moveStack(this, true);
}
EventLog.writeEvent(EventLogTags.WM_TASK_MOVED, task.taskId, toTop ? 1 : 0, stackNdx);
}