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

Commit c7731ac5 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "Fix unreleased mutex in ToneGenerator stopTone()" into jb-mr2-dev

parents 8dbaa56a 1e27c22a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1012,6 +1012,7 @@ void ToneGenerator::stopTone() {
        if (lStatus == NO_ERROR) {
            // If the tone was restarted exit now before calling clearWaveGens();
            if (mState != TONE_INIT) {
                mLock.unlock();
                return;
            }
            ALOGV("track stop complete, time %d", (unsigned int)(systemTime()/1000000));