Android sdk configue default output device in audio only mode

I have one version of sdk that output device phone and another one defaults to loud speaker. Is there any way to configure it programatically? if not possible can anyone show me where to change to recompile the sdk please??

This changhe was intentional. There is no setting for it. You are welcome to poke in the code, change it back and recompile, of course.

Hi @saghul thanks for replying…could you point me to the commits related to this feature…apologies for my ignorance… :grin:

This is the commit that did the change: but note that code may have moved around.