summaryrefslogtreecommitdiffstats
path: root/btif/include
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-06-19 13:27:30 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:23 -0700
commit2c79674ef766378464559c8645c74db5687280a9 (patch)
tree523610e2ac81b57c08d552c5b6281cfcc91ec432 /btif/include
parent1144d2b375fc67c9b48298e0ffd774d969cfd2cc (diff)
downloadexternal_bluetooth_bluedroid-2c79674ef766378464559c8645c74db5687280a9.zip
external_bluetooth_bluedroid-2c79674ef766378464559c8645c74db5687280a9.tar.gz
external_bluetooth_bluedroid-2c79674ef766378464559c8645c74db5687280a9.tar.bz2
Send SCO_AUDIO_CONNECTING on connect_audio
This translates to AUDIO_STATE_CHANGED intent with state STATE_AUDIO_CONNECTING which is needed for AudioService/AudioManager to suspend music Change-Id: I1293c105aaf1486f046620d5778c680908aad362
Diffstat (limited to 'btif/include')
-rw-r--r--btif/include/btif_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/btif/include/btif_common.h b/btif/include/btif_common.h
index 8ae52e9..5613004 100644
--- a/btif/include/btif_common.h
+++ b/btif/include/btif_common.h
@@ -141,6 +141,9 @@ enum
BTIF_DM_CB_HID_REMOTE_NAME, /* Remote name callback for HID device */
BTIF_DM_CB_BOND_STATE_BONDING,
+ BTIF_HFP_CB_START = BTIF_SIG_CB_START(BTIF_HFP),
+ BTIF_HFP_CB_AUDIO_CONNECTING, /* HF AUDIO connect has been sent to BTA successfully */
+
BTIF_PAN_CB_START = BTIF_SIG_CB_START(BTIF_PAN),
BTIF_PAN_CB_DISCONNECTING, /* PAN Disconnect has been sent to BTA successfully */
};