[Android] Do not convert uri on loading time
Geoffrey Métais
git at videolan.org
Fri Oct 13 16:28:36 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Oct 12 15:54:20 2017 +0200| [3b5cd77ced3049b31b5f839db42c92d94ee414be] | committer: Geoffrey Métais
Do not convert uri on loading time
> https://code.videolan.org/videolan/vlc-android/commit/3b5cd77ced3049b31b5f839db42c92d94ee414be
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 70e7a75e9..d793bf947 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1879,11 +1879,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
@MainThread
public void loadUri(Uri uri) {
- String path = uri.toString();
- if (TextUtils.equals(uri.getScheme(), "content")) {
- path = "file://"+ FileUtils.getPathFromURI(uri);
- }
- loadLocation(path);
+ loadLocation(uri.toString());
}
@MainThread
More information about the Android
mailing list