hal: Route playback uc to handset after USB disconnect while voip active
Issue: For Voip + playback uc with usb headset, once the
usb hs is disconnected, voip uc routes to handset. Due to
pause state AHAL receives routing none for playback uc,
due to this AHAL routes playback uc to speaker
internally causing voip call(if handset & speaker shares
same backend) also to switch to speaker for a short time.
Fix: Though playback uc is paused route it to handset rather
than speaker when voip is active thereby avoiding device switch
for voip usecase to speaker. Handled same for voice call uc.
Change-Id: Iad1e84aae1eebe905602a4d36bdeabea43b343c8
1 file changed