Merge "Only one task within the stack should moveToBack"
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user