Bug 1166469 - Add HandleBackendError for hfp-fallback product, r=btian

This commit is contained in:
Shawn Huang 2015-05-22 11:45:54 +08:00
parent 00f9693080
commit 90b0cf89c5
2 changed files with 13 additions and 0 deletions

View File

@ -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()
{

View File

@ -34,6 +34,8 @@ public:
bool ConnectSco();
bool DisconnectSco();
// Handle unexpected backend crash
void HandleBackendError();
protected:
virtual ~BluetoothHfpManager() { }