Deactivating equalizer triggers crash
Description
When equalizer is activated and then deactivated a hard crash occurs.
Exception:
Parameter specified as non-null is null: method org.videolan.vlc.PlaybackService.onCreate$lambda$9, parameter it
org.videolan.vlc.gui.audio.EqualizerFragment$fillViews$1.invokeSuspend$lambda$0(EqualizerFragment.kt:141)
Recommend updating PlaybackService to allow a null value for Equalizer:
val equalizer = LiveEvent<MediaPlayer.Equalizer?>()
Steps to reproduce
- Start audio playback
- Turn on equalizer
- Turn off equalizer
Context
App version
3.6
App mode
Smartphone