am 93c5cf6a: am 7438b57c: am 2de55513: Merge "Only one task within the stack should moveToBack"

* commit '93c5cf6a6fc928dbfd4426b7bd0c7731bfac0ed2':
  Only one task within the stack should moveToBack
This commit is contained in:
Craig Mautner
2014-12-10 21:57:22 +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);
}