In the current implementation given in AudioPolicyManager the BT
headset has got the highest priority and DEVICE_OUT_WIRED_HEADSET  has
got the second priority.

Priority means:When both are connected then the audio will come from
BT headset and if you remove BT headset audio will come from
DEVICE_OUT_WIRED_HEADSET.

I wanted to change the priority(wanted to give high priority to
DEVICE_OUT_WIRED_HEADSET instead of BT headset) but just changing
getDeviceForStrategy() function will not change the priority as we
need to take care of situation below:

a. when both are connected
b. remove the DEVICE_OUT_WIRED_HEADSET,this should transfer the audio
streams from  WIRED_HEADSET to BT headset.

Please suggest the changes required to get this done apart from the
change in getDeviceForStrategy function.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to