Correct default sort mode

This commit is contained in:
Christopher Eby 2011-10-30 16:16:23 -05:00
parent 487aa46276
commit e8a1629da1

View File

@ -586,7 +586,7 @@ public class MediaAdapter extends CursorAdapter implements SectionIndexer {
public int getDefaultSortMode()
{
Limiter limiter = mLimiter;
if (limiter != null && limiter.type == MediaUtils.TYPE_SONG)
if (limiter != null && limiter.type == MediaUtils.TYPE_ALBUM)
return 1; // artist,album,track
return 0;
}