diff --git a/dom/bluetooth/bluedroid/hfp-fallback/BluetoothHfpManager.cpp b/dom/bluetooth/bluedroid/hfp-fallback/BluetoothHfpManager.cpp index 5b698ca9dd55..abef9b40f717 100644 --- a/dom/bluetooth/bluedroid/hfp-fallback/BluetoothHfpManager.cpp +++ b/dom/bluetooth/bluedroid/hfp-fallback/BluetoothHfpManager.cpp @@ -146,6 +146,32 @@ BluetoothHfpManager::Init() return true; } +// static +void +BluetoothHfpManager::InitHfpInterface() +{ + MOZ_ASSERT(NS_IsMainThread()); + + /** + * TODO: + * Implement InitHfpInterface() for applications that want to create SCO + * link without a HFP connection (e.g., VoIP). + */ +} + +// static +void +BluetoothHfpManager::DeinitHfpInterface() +{ + MOZ_ASSERT(NS_IsMainThread()); + + /** + * TODO: + * Implement DeinitHfpInterface() for applications that want to create SCO + * link without a HFP connection (e.g., VoIP). + */ +} + void BluetoothHfpManager::HandleShutdown() { diff --git a/dom/bluetooth/bluedroid/hfp-fallback/BluetoothHfpManager.h b/dom/bluetooth/bluedroid/hfp-fallback/BluetoothHfpManager.h index 2aaaccdfeb01..12ff8a9ba23c 100644 --- a/dom/bluetooth/bluedroid/hfp-fallback/BluetoothHfpManager.h +++ b/dom/bluetooth/bluedroid/hfp-fallback/BluetoothHfpManager.h @@ -30,6 +30,8 @@ public: static BluetoothHfpManager* Get(); virtual ~BluetoothHfpManager() { } + static void InitHfpInterface(); + static void DeinitHfpInterface(); bool ConnectSco(); bool DisconnectSco();