Commit 7a7bb055 authored by Geoffrey Métais's avatar Geoffrey Métais

Enable subtitles picker for network

Except UPnP
parent 8e36ffa7
......@@ -2138,7 +2138,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
if (mUri == null)
return false;
Intent filePickerIntent = new Intent(context, FilePickerActivity.class);
if (TextUtils.equals(mUri.getScheme(), "file"))
if (!TextUtils.equals(mUri.getScheme(), "http"))
filePickerIntent.setData(Uri.parse(FileUtils.getParent(mUri.toString())));
context.startActivityForResult(filePickerIntent, 0);
return true;
......
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