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

Commit a529a048 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "audioflinger: Remove "exiting=1" parameter"

parents 33971ac1 e2bc208f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1837,10 +1837,6 @@ void AudioFlinger::PlaybackThread::onFirstRef()
void AudioFlinger::PlaybackThread::preExit()
{
    ALOGV("  preExit()");
    // FIXME this is using hard-coded strings but in the future, this functionality will be
    //       converted to use audio HAL extensions required to support tunneling
    status_t result = mOutput->stream->setParameters(String8("exiting=1"));
    ALOGE_IF(result != OK, "Error when setting parameters on exit: %d", result);
}

// PlaybackThread::createTrack_l() must be called with AudioFlinger::mLock held