diff --git a/dom/bluetooth/bluedroid/BluetoothA2dpManager.cpp b/dom/bluetooth/bluedroid/BluetoothA2dpManager.cpp index 7d7bdcd20570..34491513aa8f 100644 --- a/dom/bluetooth/bluedroid/BluetoothA2dpManager.cpp +++ b/dom/bluetooth/bluedroid/BluetoothA2dpManager.cpp @@ -298,11 +298,7 @@ BluetoothA2dpManager::ResetAvrcp() mMediaNumber = 0; mTotalMediaCount = 0; mPosition = 0; -#ifdef MOZ_B2G_BT_API_V2 - mPlayStatus = ControlPlayStatus::PLAYSTATUS_UNKNOWN; -#else mPlayStatus = ControlPlayStatus::PLAYSTATUS_STOPPED; -#endif } /* @@ -933,9 +929,6 @@ BluetoothA2dpManager::UpdateRegisterNotification(BluetoothAvrcpEvent aEvent, } mPlaybackInterval = aParam; break; -#ifdef MOZ_B2G_BT_API_V2 - // Missing in bluetooth2 -#else case AVRCP_EVENT_APP_SETTINGS_CHANGED: mAppSettingsChangedNotifyType = AVRCP_NTF_INTERIM; param.mNumAttr = 2; @@ -944,7 +937,6 @@ BluetoothA2dpManager::UpdateRegisterNotification(BluetoothAvrcpEvent aEvent, param.mIds[1] = AVRCP_PLAYER_ATTRIBUTE_SHUFFLE; param.mValues[1] = AVRCP_PLAYER_VAL_OFF_SHUFFLE; break; -#endif default: break; }