The voice output volume cannot be changed - not even with hardware buttons.
I highly suspect it's because of this:
AudioAttributes.Builder()
.setUsage(AudioAttributes.USAGE_VOICE_COMMUNICATION)
In my own testing, if we change it to
AudioAttributes.Builder()
.setUsage(AudioAttributes.USAGE_MEDIA)
It works as expected.
I would gladly do a merge request, but I don't know which repository I should work on.
The voice output volume cannot be changed - not even with hardware buttons.
I highly suspect it's because of this:
In my own testing, if we change it to
It works as expected.
I would gladly do a merge request, but I don't know which repository I should work on.