mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Fix a big bunch of lint warning
This commit is contained in:
parent
99c956c122
commit
e8a65c5810
29 changed files with 69 additions and 82 deletions
|
|
@ -89,16 +89,17 @@ public class MusicUtil {
|
|||
}
|
||||
|
||||
public static int getDefaultPicPerCategory(String category) {
|
||||
if (category.equals(CustomGlideRequest.SONG_PIC)) {
|
||||
return R.drawable.default_album_art;
|
||||
} else if (category.equals(CustomGlideRequest.ALBUM_PIC)) {
|
||||
return R.drawable.default_album_art;
|
||||
} else if (category.equals(CustomGlideRequest.ARTIST_PIC)) {
|
||||
return R.drawable.default_album_art;
|
||||
} else if (category.equals(CustomGlideRequest.PLAYLIST_PIC)) {
|
||||
return R.drawable.default_album_art;
|
||||
} else {
|
||||
return R.drawable.default_album_art;
|
||||
switch (category) {
|
||||
case CustomGlideRequest.SONG_PIC:
|
||||
return R.drawable.default_album_art;
|
||||
case CustomGlideRequest.ALBUM_PIC:
|
||||
return R.drawable.default_album_art;
|
||||
case CustomGlideRequest.ARTIST_PIC:
|
||||
return R.drawable.default_album_art;
|
||||
case CustomGlideRequest.PLAYLIST_PIC:
|
||||
return R.drawable.default_album_art;
|
||||
default:
|
||||
return R.drawable.default_album_art;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue