Skip to content
Snippets Groups Projects
Commit 187a8014 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Add appendMedia function to MediaUtils

parent b71476e3
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,17 @@ public class MediaUtils {
LocalBroadcastManager.getInstance(VLCApplication.getAppContext()).sendBroadcast(intent);
}
public static void appendMedia(final Context context, final MediaWrapper media){
if (media == null)
return;
new DialogCallback(context, new DialogCallback.Runnable() {
@Override
public void run(PlaybackService service) {
service.append(media);
}
});
}
public static void openMedia(final Context context, final MediaWrapper media){
if (media == null)
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment