Fix issue 2080258: audio routing is not reset when call ends.
Modify AudioPolicyManager::setPhoneState() to force a routing command to audio output when call ends or starts even if the same device is selected. Implement AudioHardware::setMode() to force routing change to be taken into account when phone state changes.
This commit is contained in:
parent
c33b88974d
commit
060f98e062