[Android] Fix build

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


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

Fix build

> https://code.videolan.org/videolan/vlc-android/commit/80650a6579b1f4b0673bed2f06f02d6617447e66
---

 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