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

Commit e8ed4557 authored by Cheney Ni's avatar Cheney Ni Committed by android-build-merger
Browse files

Remove unnecessary unlock

am: b98de368

Change-Id: Ibba705841e26a19698ce8405e3335dd375be2b31
parents d01c762f b98de368
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -379,7 +379,6 @@ static ssize_t out_write(struct audio_stream_out* stream, const void* buffer,
    if (stream->resume(stream)) {
      LOG(ERROR) << __func__ << ": state=" << out->bluetooth_output_.GetState()
                 << " failed to resume";
      lock.unlock();
      usleep(kBluetoothDefaultOutputBufferMs * 1000);
      return totalWritten;
    }