Commit b0d215e9 authored by Sébastien Toque's avatar Sébastien Toque

Audio: fix browsing

parent b86bd67a
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment