From 9fe0c5b821b2ba4e854e69019cd411234c2ad8fb Mon Sep 17 00:00:00 2001 From: Gina Yeh Date: Thu, 30 May 2013 10:50:19 +0800 Subject: [PATCH] Backed out changeset 8cdcc0221c0f for build bustage DONTBUILD --- dom/bluetooth/BluetoothTelephonyListener.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/dom/bluetooth/BluetoothTelephonyListener.cpp b/dom/bluetooth/BluetoothTelephonyListener.cpp index cd9052878a44..c7d4ff175b5e 100644 --- a/dom/bluetooth/BluetoothTelephonyListener.cpp +++ b/dom/bluetooth/BluetoothTelephonyListener.cpp @@ -67,17 +67,6 @@ NS_IMETHODIMP TelephonyListener::NotifyError(int32_t aCallIndex, const nsAString& aError) { - BluetoothHfpManager* hfp = BluetoothHfpManager::Get(); - // In order to not miss any related call state transition. - // It's possible that 3G network signal lost for unknown reason. - // If a call is released abnormally, NotifyError() will be called, - // instead of CallStateChanged(). We need to reset the call array state - // via setting CALL_STATE_DISCONNECTED - hfp->HandleCallStateChanged(aCallIndex, - nsIRadioInterfaceLayer::CALL_STATE_DISCONNECTED, - EmptyString(), false, true); - NS_WARNING("Reset the call state due to call transition ends abnormally"); - NS_WARNING(aError.get()); return NS_OK; }