mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1197815: Add missing |BluetoothHfpManager::IsNrecEnabled|, r=shuang
This commit is contained in:
parent
a9b03bf1f4
commit
35ae7124d7
@ -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
|
||||
|
@ -103,7 +103,6 @@ public:
|
||||
*/
|
||||
bool ConnectSco(BluetoothReplyRunnable* aRunnable = nullptr);
|
||||
bool DisconnectSco();
|
||||
bool IsNrecEnabled();
|
||||
bool ListenSco();
|
||||
|
||||
#ifdef MOZ_B2G_RIL
|
||||
|
Loading…
Reference in New Issue
Block a user