Bluetooth: Enable in-band ringing in vibration mode (3/4)
* Add AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING mode to force Bluetooth SCO
in vibration mode
* Modify default audio policy engine to route audio through SCO only
in AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING mode
Bug: 72647074
Test: Call phone in vibration mode and hear ringtone on HFP enabled
headset, verify that ringtone is only played through headset.
Then disconnect headset and call again to verify that ringtone
does not play through phone speaker in vibration mode.
Change-Id: I2185955bd51166b76156ffd4efdd1f2f01757518
(cherry picked from commit 644693eee633980d356afcfedc7518ea7fed2c47)
2 files changed