[Android] AndroidTV: re-enable audio section in ui prefs

Duncan McNamara git at videolan.org
Fri Mar 10 10:34:41 UTC 2023


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Feb 23 11:37:38 2023 +0100| [a30347d3636a9a42661f2d5cb219f97e6fd60142] | committer: Nicolas Pomepuy

AndroidTV: re-enable audio section in ui prefs

The audio section in ui prefs for tv was set to not visible, meaning
that the audio playlist mode wasn't available.

Fixed #2868

> https://code.videolan.org/videolan/vlc-android/commit/a30347d3636a9a42661f2d5cb219f97e6fd60142
---

 .../main/java/org/videolan/television/ui/preferences/PreferencesUi.kt    | 1 -
 1 file changed, 1 deletion(-)

diff --git a/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesUi.kt b/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesUi.kt
index a202e5143d..2d4509aef1 100644
--- a/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesUi.kt
+++ b/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesUi.kt
@@ -56,7 +56,6 @@ class PreferencesUi : BasePreferenceFragment(), SharedPreferences.OnSharedPrefer
             if (!contains(FORCE_PLAY_ALL_VIDEO)) putSingle(FORCE_PLAY_ALL_VIDEO, true)
         }
         super.onCreate(savedInstanceState)
-        findPreference<Preference>("ui_audio_category")?.isVisible = false
         tvUiPref = findPreference(PREF_TV_UI)!!
         tvUiPref.setDefaultValue(true)
         findPreference<Preference>(KEY_APP_THEME)?.isVisible = false



More information about the Android mailing list