[Android] Enable subtitles picker for network

Geoffrey Métais git at videolan.org
Thu May 26 16:27:25 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu May 26 15:31:43 2016 +0200| [7a7bb0555e69e1e41273c02532a5902f9b00ebe2] | committer: Geoffrey Métais

Enable subtitles picker for network

Except UPnP

> https://code.videolan.org/videolan/vlc-android/commit/7a7bb0555e69e1e41273c02532a5902f9b00ebe2
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 7061cca..058cf00 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -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;



More information about the Android mailing list