Loading packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java +7 −0 Original line number Diff line number Diff line Loading @@ -309,6 +309,13 @@ public class Task { taskInfo.topActivity); } /** * Creates a task object from the given [taskInfo]. */ public static Task from(TaskInfo taskInfo) { return from(new TaskKey(taskInfo), taskInfo, /* isLocked= */ false); } public Task(TaskKey key) { this.key = key; this.taskDescription = new TaskDescription(); Loading Loading
packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java +7 −0 Original line number Diff line number Diff line Loading @@ -309,6 +309,13 @@ public class Task { taskInfo.topActivity); } /** * Creates a task object from the given [taskInfo]. */ public static Task from(TaskInfo taskInfo) { return from(new TaskKey(taskInfo), taskInfo, /* isLocked= */ false); } public Task(TaskKey key) { this.key = key; this.taskDescription = new TaskDescription(); Loading