Backed out changeset 8cdcc0221c0f for build bustage DONTBUILD

This commit is contained in:
Gina Yeh 2013-05-30 10:50:19 +08:00
Родитель 99f5265a76
Коммит 9fe0c5b821
1 изменённых файлов: 0 добавлений и 11 удалений

Просмотреть файл

@ -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;
}