Added option to disable album art on lockscreen.

This commit is contained in:
Karim Abou Zeid 2015-06-28 15:48:05 +02:00
commit 5a1503ed7b
5 changed files with 81 additions and 30 deletions

View file

@ -44,6 +44,7 @@ public final class PreferenceUtils {
public static final String COLORED_NOTIFICATION = "colored_notification";
public static final String GAPLESS_PLAYBACK = "gapless_playback";
public static final String LAST_ADDED_CUTOFF_TIMESTAMP = "last_added_cutoff_timestamp";
public static final String ALBUM_ART_ON_LOCKSCREEN = "album_art_on_lockscreen";
private static PreferenceUtils sInstance;
@ -203,6 +204,10 @@ public final class PreferenceUtils {
return mPreferences.getBoolean(GAPLESS_PLAYBACK, true);
}
public final boolean albumArtOnLockscrenn() {
return mPreferences.getBoolean(ALBUM_ART_ON_LOCKSCREEN, true);
}
// public final boolean downloadMissingArtistImages() {
// return mPreferences.getBoolean(DOWNLOAD_MISSING_ARTIST_IMAGES, true);
// }