[feat] - Manage audio focus

This commit is contained in:
Doozy 2022-05-05 15:46:44 +03:00
parent f86c30c608
commit 67e9707b10
39 changed files with 86 additions and 1 deletions

View file

@ -326,6 +326,11 @@ object PreferenceUtil {
TOGGLE_FULL_SCREEN, false
)
val isAudioFocusEnabled
get() = sharedPreferences.getBoolean(
MANAGE_AUDIO_FOCUS, false
)
val isLockScreen get() = sharedPreferences.getBoolean(LOCK_SCREEN, false)
fun isAllowedToDownloadMetadata(): Boolean {