[Android] BaseBrowser: Fix Java 6 compatibility
Jean-Baptiste Kempf
git at videolan.org
Fri May 8 14:27:23 CEST 2015
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri May 8 14:23:30 2015 +0200| [c138e1752c0256c305762081a28e807889382cef] | committer: Jean-Baptiste Kempf
BaseBrowser: Fix Java 6 compatibility
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=c138e1752c0256c305762081a28e807889382cef
---
.../src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
index f88ef11..81d1100 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -420,7 +420,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
VideoPlayerActivity.start(getActivity(), mw.getLocation());
return true;
case R.id.directory_view_play_folder:
- ArrayList<MediaWrapper> mediaList = new ArrayList<>();
+ ArrayList<MediaWrapper> mediaList = new ArrayList<MediaWrapper>();
for (MediaWrapper mediaItem : mMediaLists.get(position)){
if (mediaItem.getType() == MediaWrapper.TYPE_AUDIO || mediaItem.getType() == MediaWrapper.TYPE_VIDEO)
mediaList.add(mediaItem);
More information about the Android
mailing list