[Android] Audio: fix browsing
Sébastien Toque
git at videolan.org
Thu Jun 21 07:01:04 CEST 2012
android | branch: master | Sébastien Toque <xilasz at gmail.com> | Thu Jun 21 07:00:55 2012 +0200| [b0d215e9fc057c377558acaa2bc69ddd39ccbc37] | committer: Sébastien Toque
Audio: fix browsing
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=b0d215e9fc057c377558acaa2bc69ddd39ccbc37
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java
index dc9cca1..4022e04 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java
@@ -197,7 +197,7 @@ public class AudioListActivity extends SherlockListActivity {
String currentItem = null;
int currentIndex = -1;
- if (name == null || mode == 0) {
+ if (name == null || mode == AudioBrowserActivity.MODE_SONG) {
mTitle.setText(R.string.songs);
itemList = AudioServiceController.getInstance().getItems();
currentItem = AudioServiceController.getInstance().getItem();
More information about the Android
mailing list