Loading packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -133,6 +133,10 @@ public class Task { return this.baseIntent.getPackage(); return this.baseIntent.getPackage(); } } public int getId() { return id; } @Override @Override public boolean equals(Object o) { public boolean equals(Object o) { if (!(o instanceof TaskKey)) { if (!(o instanceof TaskKey)) { Loading Loading @@ -307,6 +311,10 @@ public class Task { lastSnapshotData.set(rawTask.lastSnapshotData); lastSnapshotData.set(rawTask.lastSnapshotData); } } public TaskKey getKey() { return key; } /** /** * Returns the visible width to height ratio. Returns 0f if snapshot data is not available. * Returns the visible width to height ratio. Returns 0f if snapshot data is not available. */ */ Loading Loading
packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -133,6 +133,10 @@ public class Task { return this.baseIntent.getPackage(); return this.baseIntent.getPackage(); } } public int getId() { return id; } @Override @Override public boolean equals(Object o) { public boolean equals(Object o) { if (!(o instanceof TaskKey)) { if (!(o instanceof TaskKey)) { Loading Loading @@ -307,6 +311,10 @@ public class Task { lastSnapshotData.set(rawTask.lastSnapshotData); lastSnapshotData.set(rawTask.lastSnapshotData); } } public TaskKey getKey() { return key; } /** /** * Returns the visible width to height ratio. Returns 0f if snapshot data is not available. * Returns the visible width to height ratio. Returns 0f if snapshot data is not available. */ */ Loading