[Android] Fix append album's bug

Alexandre Perraud git at videolan.org
Fri Apr 18 19:20:11 CEST 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Fri Apr 18 18:30:32 2014 +0200| [6e7a873f589e9ce1068f599a5b8c5a2e78c4c0d1] | committer: Jean-Baptiste Kempf

Fix append album's bug

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
index c1738ca..de4b667 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -298,7 +298,7 @@ public class AudioBrowserFragment extends SherlockFragment {
                     medias = mArtistsAdapter.getLocations(groupPosition);
                     break;
                 case MODE_ALBUM:
-                    medias = mArtistsAdapter.getLocations(groupPosition);
+                    medias = mAlbumsAdapter.getLocations(groupPosition);
                     break;
                 case MODE_GENRE:
                     medias = mGenresAdapter.getLocations(groupPosition);



More information about the Android mailing list