mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 1166469 - Add HandleBackendError for hfp-fallback product, r=btian
This commit is contained in:
parent
00f9693080
commit
90b0cf89c5
@ -201,6 +201,17 @@ BluetoothHfpManager::ConnectSco()
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
BluetoothHfpManager::HandleBackendError()
|
||||
{
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
}
|
||||
|
||||
bool
|
||||
BluetoothHfpManager::DisconnectSco()
|
||||
{
|
||||
|
@ -34,6 +34,8 @@ public:
|
||||
|
||||
bool ConnectSco();
|
||||
bool DisconnectSco();
|
||||
// Handle unexpected backend crash
|
||||
void HandleBackendError();
|
||||
|
||||
protected:
|
||||
virtual ~BluetoothHfpManager() { }
|
||||
|
Loading…
Reference in New Issue
Block a user