mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1197815: Add missing |BluetoothHfpManager::IsNrecEnabled|, r=shuang
This commit is contained in:
parent
eef044ce0c
commit
72056dd1ea
@ -24,7 +24,8 @@ public:
|
||||
|
||||
#define BT_DECL_HFP_MGR_BASE \
|
||||
BT_DECL_PROFILE_MGR_BASE \
|
||||
virtual bool IsScoConnected() override;
|
||||
virtual bool IsScoConnected() override; \
|
||||
virtual bool IsNrecEnabled() override;
|
||||
|
||||
END_BLUETOOTH_NAMESPACE
|
||||
|
||||
|
@ -105,6 +105,12 @@ BluetoothHfpManager::IsScoConnected()
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
BluetoothHfpManager::IsNrecEnabled()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Non-inherited functions
|
||||
*/
|
||||
@ -205,7 +211,7 @@ void
|
||||
BluetoothHfpManager::HandleBackendError()
|
||||
{
|
||||
/**
|
||||
* TODO:
|
||||
* TODO:
|
||||
* Reset connection state and audio state to DISCONNECTED to handle backend
|
||||
* error. The state change triggers UI status bar update as ordinary
|
||||
* bluetooth turn-off sequence.
|
||||
|
@ -92,7 +92,6 @@ public:
|
||||
|
||||
bool ConnectSco();
|
||||
bool DisconnectSco();
|
||||
bool IsNrecEnabled();
|
||||
|
||||
/**
|
||||
* @param aSend A boolean indicates whether we need to notify headset or not
|
||||
|
Loading…
Reference in New Issue
Block a user