hal: force device switch when BT SCO is off

When BT SCO is off, the active use cases may still stay on SCO
devices which is not expected, switch the device to handset or
handset mic before receiving routing command from audio policy
manager.
Also, reset SCO configuration for SWB device only when BT SCO
is off, as the path needs to keep active to allow starting
playback/capture for multiple times during SCO is on.

Change-Id: I5817824fd921b2d5f9e17ee8aed02d0bd2cee0fc
2 files changed