Commit c138e175 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

BaseBrowser: Fix Java 6 compatibility

parent 94d01c31
......@@ -420,7 +420,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
VideoPlayerActivity.start(getActivity(), mw.getLocation());
return true;
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment