mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Removed category parameter from CustomGlideRequest builder
This commit is contained in:
parent
aa9422fd56
commit
d07855a48d
26 changed files with 52 additions and 85 deletions
|
|
@ -157,21 +157,6 @@ public class MusicUtil {
|
|||
return "enc:" + plainPassword.chars().mapToObj(Integer::toHexString).collect(Collectors.joining());
|
||||
}
|
||||
|
||||
public static int getDefaultPicPerCategory(String category) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getBitratePreference() {
|
||||
Network network = getConnectivityManager().getActiveNetwork();
|
||||
NetworkCapabilities networkCapabilities = getConnectivityManager().getNetworkCapabilities(network);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue