Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf6b2bf4 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 9660

* changes:
  Fix problem in A2DP interface closeOutputStream().
parents dfbea2f3 8851d1e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -89,7 +89,7 @@ AudioStreamOut* A2dpAudioInterface::openOutputStream(


void A2dpAudioInterface::closeOutputStream(AudioStreamOut* out) {
void A2dpAudioInterface::closeOutputStream(AudioStreamOut* out) {
    if (mOutput == 0 || mOutput != out) {
    if (mOutput == 0 || mOutput != out) {
        LOGW("Attempt to close invalid output stream");
        mHardwareInterface->closeOutputStream(out);
    }
    }
    else {
    else {
        delete mOutput;
        delete mOutput;