commit | bc9976e7497106c2b21321b8d4972faa98cf7bc0 | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Fri Jan 05 17:17:06 2018 -0800 |
committer | Jack He <siyuanh@google.com> | Tue Jan 09 15:17:34 2018 -0800 |
tree | b177762755a0325a6bb5aecefc5407bd057a9bfe | |
parent | 2f37060ee0478bf68e01e4357c0d0617a3fb8e03 [diff] |
HFP: Add isInbandRingingEnabled() API (1/4) * Use BluetoothHeadset.isInbandRingingEnabled() API to check whether in-band ringing is currently enabled in the system when deciding on audio routes for ringtone * Add this as a hidden internal API for system components Bug: 71646213 Test: make, toggle in-band ringing from Development Settings and observe whether Telecom service tries to open SCO when there is an incoming call Change-Id: I1ef0dd2b54ace7649ddd1f043f0ef5847743a5c4