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

This commit is contained in:
Thomas Zimmermann 2015-08-25 13:18:00 +02:00
parent eef044ce0c
commit 72056dd1ea
3 changed files with 9 additions and 3 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