mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Changed to image quality preference
This commit is contained in:
parent
0305af2f9f
commit
a466574e08
25 changed files with 67 additions and 28 deletions
|
|
@ -34,6 +34,7 @@ public class PreferenceUtil {
|
|||
public static final String MAXIMUM_BITRATE = "maximum_bitrate";
|
||||
public static final String AUDIO_DUCKING = "audio_ducking";
|
||||
public static final String SONG_NUMBER = "SONG_NUMBER";
|
||||
public static final String IMAGE_QUALITY = "image_quality";
|
||||
|
||||
private static PreferenceUtil sInstance;
|
||||
private final SharedPreferences mPreferences;
|
||||
|
|
@ -183,6 +184,10 @@ public class PreferenceUtil {
|
|||
return Integer.parseInt(mPreferences.getString(MEDIA_CACHE_SIZE, "400000000"));
|
||||
}
|
||||
|
||||
public final String getImageQuality() {
|
||||
return mPreferences.getString(IMAGE_QUALITY, "Top");
|
||||
}
|
||||
|
||||
public final boolean getAudioDucking() {
|
||||
return mPreferences.getBoolean(AUDIO_DUCKING, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue