Equalizer: dialog buttons doesn't work when orientation has been changed
Description
If you turn your device when equalizer is shown and bands have been changed, the Save dialog buttons are not working.
In the save
method, activity is null and the fun is returning right away.
Expected behavior
Save button always works.
Actual behavior
Steps to reproduce
- Open the equalizer
- Change a band
- Change the orientation
- Dismiss the equalizer -> the dialog is shown
- Tap
Save
-> nothing happens
Screenshot / video
Context
App version
Android version
Device model
App mode
Smartphone