I wrote an Android application, that changes the ringer mode from any mode to normal, if a BroadcastReceiver receives a notification.
It's working fine on Android < 8.
It also works for my Android 8 device, if ringer mode != silent when the broadcast receiver reacts.
- ringer mode != silent & change it to any ringer mode
- works on all devices
- ringer mode == silent & change it to silent mode
- works fine on all devices
- ringer mode == silent & change it to non-silent mode
- works only on older devices with Android < 8
When changing from silent to non-silent on Android 8, I get an exception saying Boradcast already finished
?!
This behavior is only on my Android 8 device, older devices work fine.
Can someone help on this strange behavior? Thank you!