Loading system/btif/src/btif_a2dp_source.cc +2 −1 Original line number Diff line number Diff line Loading @@ -439,7 +439,8 @@ static void btif_a2dp_source_end_session_delayed( BluetoothMetricsLogger::GetInstance()->LogBluetoothSessionEnd( bluetooth::common::DISCONNECT_REASON_UNKNOWN, 0); } if (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateRunning) { if ((btif_a2dp_source_cb.State() == BtifA2dpSource::kStateRunning) || (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateShuttingDown)) { btif_av_stream_stop(peer_address); } else { LOG_ERROR(LOG_TAG, "%s: A2DP Source media task is not running", __func__); Loading Loading
system/btif/src/btif_a2dp_source.cc +2 −1 Original line number Diff line number Diff line Loading @@ -439,7 +439,8 @@ static void btif_a2dp_source_end_session_delayed( BluetoothMetricsLogger::GetInstance()->LogBluetoothSessionEnd( bluetooth::common::DISCONNECT_REASON_UNKNOWN, 0); } if (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateRunning) { if ((btif_a2dp_source_cb.State() == BtifA2dpSource::kStateRunning) || (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateShuttingDown)) { btif_av_stream_stop(peer_address); } else { LOG_ERROR(LOG_TAG, "%s: A2DP Source media task is not running", __func__); Loading