[Android] AudioUtil: Fix stupid tautology

Jean-Baptiste Kempf git at videolan.org
Fri Jun 12 16:58:51 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jun 12 15:27:09 2015 +0200| [7fd3417459c0e148fae0366633cf0d1a66d9fc36] | committer: Jean-Baptiste Kempf

AudioUtil: Fix stupid tautology

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=7fd3417459c0e148fae0366633cf0d1a66d9fc36
---

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
index aa08f45..6e16fc9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
@@ -245,7 +245,7 @@ public class AudioUtil {
             final String name = f.getName().substring(0, index);
             File[] files = folder.listFiles(new FilenameFilter() {
                 public boolean accept(File dir, String filename) {
-                    return filename.startsWith(filename);
+                    return filename.startsWith(name);
                 }
             });
             if (files.length > 0)



More information about the Android mailing list