commit | 3f351a4fa00ccce3eb3427f839553b3b78be0825 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Mon Feb 15 21:03:41 2016 +0000 |
committer | Neil Fuller <nfuller@google.com> | Mon Feb 15 21:03:41 2016 +0000 |
tree | 517bcfdfa93ec46319b3630767ac3f9245e55999 | |
parent | ae8f843a4a3d0fbe114d74775b5dfbc5b04d9d3c [diff] |
Fix a compilation error due to 1.8 type inference differences The code does not compile when the Jack compiler is set to -D jack.java.source.version=1.8. The change has no functional impact. Bug: 26753820 Change-Id: I19d3ffd65e31648d95bb7701d89710015cfaf552
diff --git a/packages/SystemUI/src/com/android/systemui/recents/tv/views/TaskStackHorizontalViewAdapter.java b/packages/SystemUI/src/com/android/systemui/recents/tv/views/TaskStackHorizontalViewAdapter.java index 7b62f4e..f154331 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/tv/views/TaskStackHorizontalViewAdapter.java +++ b/packages/SystemUI/src/com/android/systemui/recents/tv/views/TaskStackHorizontalViewAdapter.java
@@ -65,7 +65,7 @@ } public TaskStackHorizontalViewAdapter(List tasks) { - mTaskList = new ArrayList<>(tasks); + mTaskList = new ArrayList<Task>(tasks); } public void setNewStackTasks(List tasks) {