[Android] Fix IndexOutOfBoundsException in equalizer when changing orientation
Nicolas Pomepuy
git at videolan.org
Wed Feb 23 12:49:54 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Feb 23 07:31:43 2022 +0100| [56e23255b77c980e6b573a10d48086fe03081150] | committer: Nicolas Pomepuy
Fix IndexOutOfBoundsException in equalizer when changing orientation
Relates to #2401
> https://code.videolan.org/videolan/vlc-android/commit/56e23255b77c980e6b573a10d48086fe03081150
---
.../vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt
index c14567bbd..c42ff060f 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.kt
@@ -101,6 +101,7 @@ class EqualizerFragment : VLCBottomSheetDialogFragment(), Slider.OnChangeListene
super.onCreateView(inflater, container, savedInstanceState)
binding = DataBindingUtil.inflate(inflater, R.layout.equalizer, container, false)
binding.state = state
+ customCount = 0
return binding.root
}
More information about the Android
mailing list