[Android] Fix Java 1.6 build

Geoffrey Métais git at videolan.org
Sat Feb 28 11:01:21 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Sat Feb 28 10:30:12 2015 +0100| [bea8a6de98508c39bf011c14fb063b5e31b3da80] | committer: Jean-Baptiste Kempf

Fix Java 1.6 build

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=bea8a6de98508c39bf011c14fb063b5e31b3da80
---

 vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
index 809d7fb..f919190 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -517,7 +517,7 @@ public class AudioBrowserFragment extends BrowserFragment implements SwipeRefres
             mHandler.sendEmptyMessageDelayed(MSG_LOADING, 300);
 
             ExecutorService tpe = Executors.newSingleThreadExecutor();
-            ArrayList<Runnable> tasks = new ArrayList<>(Arrays.asList(updateArtists,
+            ArrayList<Runnable> tasks = new ArrayList<Runnable>(Arrays.asList(updateArtists,
                     updateAlbums, updateSongs, updateGenres));
 
             //process the visible list first



More information about the Android mailing list