Commit f190d4a3 authored by Thomas Guillem's avatar Thomas Guillem

BaseBrowserAdapter: always use openMedia

In order to keep slaves inside MediaWrapper.
parent 5481b206
......@@ -398,11 +398,8 @@ public class BaseBrowserAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
if (mw.getType() == MediaWrapper.TYPE_DIR)
fragment.browse(mw, holder.getAdapterPosition(), true);
else if (mw.getType() == MediaWrapper.TYPE_AUDIO || mw.getType() == MediaWrapper.TYPE_VIDEO) {
MediaUtils.openMedia(v.getContext(), mw);
} else {
MediaUtils.openStream(holder.itemView.getContext(), mw.getLocation());
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