[Android] Allow opening the equalizer settings on TV
Nicolas Pomepuy
git at videolan.org
Thu Jun 4 12:32:44 UTC 2026
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Jun 4 10:59:53 2026 +0200| [19c684bf7e6368cc85a4a71867d915a2d74571ec] | committer: Nicolas Pomepuy
Allow opening the equalizer settings on TV
> https://code.videolan.org/videolan/vlc-android/commit/19c684bf7e6368cc85a4a71867d915a2d74571ec
---
.../org/videolan/television/ui/preferences/PreferencesFragment.kt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesFragment.kt b/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesFragment.kt
index 1d207441bf..95a154fb13 100644
--- a/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesFragment.kt
+++ b/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesFragment.kt
@@ -51,6 +51,7 @@ import org.videolan.tools.Settings
import org.videolan.tools.Settings.isPinCodeSet
import org.videolan.tools.VIDEO_RESUME_PLAYBACK
import org.videolan.vlc.R
+import org.videolan.vlc.gui.EqualizerSettingsActivity
import org.videolan.vlc.gui.PinCodeActivity
import org.videolan.vlc.gui.PinCodeReason
import org.videolan.vlc.gui.SecondaryActivity
@@ -117,6 +118,10 @@ class PreferencesFragment : BasePreferenceFragment(), SharedPreferences.OnShared
true
} else super.onPreferenceTreeClick(preference)
}
+ "equalizer" -> {
+ startActivity(Intent(context.applicationContext, EqualizerSettingsActivity::class.java))
+ true
+ }
AUDIO_RESUME_PLAYBACK -> {
val audioResumePref = findPreference<CheckBoxPreference>(AUDIO_RESUME_PLAYBACK)
More information about the Android
mailing list