[Android] Force refresh when changing video group setting

Nicolas Pomepuy git at videolan.org
Thu Sep 12 16:33:37 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Sep 12 11:43:24 2019 +0200| [68f0fa1446d02f1b42d5c754c87518c3f6280e8d] | committer: Nicolas Pomepuy

Force refresh when changing video group setting

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

 vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesUi.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesUi.kt b/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesUi.kt
index 371e0b97d..d3afcd708 100644
--- a/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesUi.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesUi.kt
@@ -102,7 +102,7 @@ class PreferencesUi : BasePreferenceFragment(), SharedPreferences.OnSharedPrefer
                 (activity as PreferencesActivity).setRestart()
                 UiTools.restartDialog(requireActivity())
             }
-            "browser_show_all_files" -> (activity as PreferencesActivity).setRestart()
+            "browser_show_all_files", "video_min_group_length" -> (activity as PreferencesActivity).setRestart()
             KEY_APP_THEME -> (activity as PreferencesActivity).exitAndRescan()
             LIST_TITLE_ELLIPSIZE -> {
                 Settings.listTitleEllipsize = sharedPreferences.getString(LIST_TITLE_ELLIPSIZE, "0").toInt()



More information about the Android mailing list