Added option to disable audio ducking.
This commit is contained in:
parent
3596d08b8b
commit
869b935bf6
4 changed files with 38 additions and 8 deletions
|
|
@ -43,6 +43,7 @@ public final class PreferenceUtil {
|
|||
|
||||
public static final String COLORED_NOTIFICATION = "colored_notification";
|
||||
|
||||
public static final String AUDIO_DUCKING = "audio_ducking";
|
||||
public static final String GAPLESS_PLAYBACK = "gapless_playback";
|
||||
|
||||
public static final String LAST_ADDED_CUTOFF_TIMESTAMP = "last_added_cutoff_timestamp";
|
||||
|
|
@ -134,6 +135,10 @@ public final class PreferenceUtil {
|
|||
return mPreferences.getBoolean(GAPLESS_PLAYBACK, false);
|
||||
}
|
||||
|
||||
public final boolean audioDucking() {
|
||||
return mPreferences.getBoolean(AUDIO_DUCKING, true);
|
||||
}
|
||||
|
||||
public final boolean albumArtOnLockscreen() {
|
||||
return mPreferences.getBoolean(ALBUM_ART_ON_LOCKSCREEN, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue