OSDN Git Service

Bluetooth: Enable in-band ringing in vibration mode (2/4)
authorJack He <siyuanh@google.com>
Thu, 8 Mar 2018 01:02:23 +0000 (17:02 -0800)
committerJack He <siyuanh@google.com>
Wed, 21 Mar 2018 23:02:42 +0000 (16:02 -0700)
commit0bb0488ffa77e7c510fef6d957be4b753c3006cf
treec8844e4ac92b4d51dd8bc93ddce47f8237718a1d
parent17f2f7c22464959ca619b6cf19dae1f2ea4c7fd8
Bluetooth: Enable in-band ringing in vibration mode (2/4)

* Add AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING force 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: I6a738115a968ac76cb7cf83b52fe2e28a2fbc17f
(cherry picked from commit 2fa5ecf152f1227a6493b51ed114bc7c1a304202)
audio/include/system/audio_policy.h