Draft: Disable volume buttons when the screen is off
This only checks if the screen is on or there's an active call. I have no idea how to check if there's a media playing. In my hacks, I just use the item in the sound indicator which is not be a good solution. There might also be other use cases where it should also work?