[Android] Force refresh when changing video group setting

Nicolas Pomepuy git at videolan.org
Mon Sep 23 18:10:19 CEST 2019


vlc-android | branch: 3.2.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Sep 12 11:43:24 2019 +0200| [33eb99610cf72ad5c5856a8b1b507fa782479255] | committer: Geoffrey Métais

Force refresh when changing video group setting

(cherry picked from commit 68f0fa1446d02f1b42d5c754c87518c3f6280e8d)

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

 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