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

Commit 8592dbbd authored by Rachad's avatar Rachad
Browse files

NuPlayer::Renderer::onPause() - Converted CHECK(!mPaused) to a warning.

 Bug: 17436451

Change-Id: I7e9e0c48bbdd8ab65c5f4a587699a28435bd03f4
parent 9f8551ff
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -893,8 +893,10 @@ void NuPlayer::Renderer::notifyPosition() {
}

void NuPlayer::Renderer::onPause() {
    CHECK(!mPaused);

    if (mPaused) {
        ALOGW("Renderer::onPause() called while already paused!");
        return;
    }
    {
        Mutex::Autolock autoLock(mLock);
        ++mAudioQueueGeneration;