Bug 1197815: Add missing |BluetoothHfpManager::IsNrecEnabled|, r=shuang

This commit is contained in:
Thomas Zimmermann 2015-08-25 17:06:51 +02:00
parent a9b03bf1f4
commit 35ae7124d7
4 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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.

View File

@ -92,7 +92,6 @@ public:
bool ConnectSco();
bool DisconnectSco();
bool IsNrecEnabled();
/**
* @param aSend A boolean indicates whether we need to notify headset or not

View File

@ -103,7 +103,6 @@ public:
*/
bool ConnectSco(BluetoothReplyRunnable* aRunnable = nullptr);
bool DisconnectSco();
bool IsNrecEnabled();
bool ListenSco();
#ifdef MOZ_B2G_RIL