Default to artist,album,track sort order for albums and songs

This commit is contained in:
Christopher Eby 2012-03-14 21:02:46 -05:00
parent 3f1e1b04bf
commit 8056a06d81

View File

@ -552,9 +552,9 @@ public class MediaAdapter
*/
public int getDefaultSortMode()
{
Limiter limiter = mLimiter;
if (limiter != null && limiter.type == MediaUtils.TYPE_ALBUM)
return 1; // artist,album,track
int type = mType;
if (type == MediaUtils.TYPE_ALBUM || type == MediaUtils.TYPE_SONG)
return 1; // aritst,album,track
return 0;
}