Merge "Only one task within the stack should moveToBack"

This commit is contained in:
Craig Mautner
2014-12-10 17:51:31 +00:00
committed by Gerrit Code Review

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);
}