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