I received the following feedback when submitting an app for Android Auto:
Your app does not support all of the required voice commands. Volume doesn't reduce when voice command is initiated on the Android Auto.
I take this to mean that the app should reduce playback volume (it's a media player app) when the user presses the Speak/Mic button in the Android Auto UI (or also if they scream "Ok, Google" over the sound of their music, I suppose).
I guess the other possible interpretation is that there are voice commands for raising/lowering the volume that need to be supported, but that seems...unlikely. And I'm not seeing any such API hooks documented anywhere.
So I assume it's the former case, and I need to reduce the volume when voice recognition starts.
To do that it seems like I'd need to receive a notification of that event (and preferably, also a notification of when voice recognition has ended). Is there a boradcast intent or other way to trap this in my app so that I can reduce the media playback volume while the user is trying to say things?