[Android] Fix build

Geoffrey Métais git at videolan.org
Wed Aug 10 14:35:12 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Aug 10 14:34:39 2016 +0200| [53b09298189fa7d4b3e4318f34eb04d2d219f26b] | committer: Geoffrey Métais

Fix build

(cherry picked from commit 80650a6579b1f4b0673bed2f06f02d6617447e66)

> https://code.videolan.org/videolan/vlc-android/commit/53b09298189fa7d4b3e4318f34eb04d2d219f26b
---

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

diff --git a/vlc-android/src/org/videolan/vlc/media/MediaWrapper.java b/vlc-android/src/org/videolan/vlc/media/MediaWrapper.java
index 5466e90..31dd904 100644
--- a/vlc-android/src/org/videolan/vlc/media/MediaWrapper.java
+++ b/vlc-android/src/org/videolan/vlc/media/MediaWrapper.java
@@ -166,7 +166,7 @@ public class MediaWrapper implements Parcelable {
             filename = mTitle;
         if (TextUtils.isEmpty(filename))
             return;
-        final int index = filename.indexOf('?');
+        int index = filename.indexOf('?');
         if (index != -1)
             filename = filename.substring(0, index);
 



More information about the Android mailing list