Make genre expansion smarter

Jump to the next best tab
This commit is contained in:
Adrian Ulrich 2016-09-17 09:41:20 +02:00
parent 02e961581c
commit 8e4fad61ed

View File

@ -568,6 +568,10 @@ public class LibraryPagerAdapter
requestRequery(mSongAdapter);
}
tab = mArtistsPosition;
if (tab == -1)
tab = mAlbumsPosition;
if (tab == -1)
tab = mSongsPosition;
break;
case MediaUtils.TYPE_FILE:
if (mFilesAdapter == null) {