[Android] Reactivate debug logs on TV

Nicolas Pomepuy git at videolan.org
Mon Sep 12 06:06:11 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Sep 12 08:01:39 2022 +0200| [ff4394262392ef60fba5f281312864e265350d9e] | committer: Nicolas Pomepuy

Reactivate debug logs on TV

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

 .../java/org/videolan/television/ui/preferences/PreferencesAdvanced.kt  | 2 --
 1 file changed, 2 deletions(-)

diff --git a/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesAdvanced.kt b/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesAdvanced.kt
index 350a577dc..2699ebbe5 100644
--- a/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesAdvanced.kt
+++ b/application/television/src/main/java/org/videolan/television/ui/preferences/PreferencesAdvanced.kt
@@ -45,7 +45,6 @@ import org.videolan.resources.*
 import org.videolan.tools.BitmapCache
 import org.videolan.tools.Settings
 import org.videolan.tools.putSingle
-import org.videolan.vlc.BuildConfig
 import org.videolan.vlc.MediaParsingService
 import org.videolan.vlc.R
 import org.videolan.vlc.gui.DebugLogActivity
@@ -71,7 +70,6 @@ class PreferencesAdvanced : BasePreferenceFragment(), SharedPreferences.OnShared
 
     override fun onCreate(savedInstanceState: Bundle?) {
         super.onCreate(savedInstanceState)
-        if (BuildConfig.DEBUG) findPreference<Preference>("debug_logs")?.isVisible = false
         if (FeatureFlag.values().isNotEmpty()) findPreference<Preference>("optional_features")?.isVisible = true
     }
 



More information about the Android mailing list