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

Commit c558fa89 authored by James Dong's avatar James Dong
Browse files

Added some informational log messages to track down ANR related issues

Change-Id: Ie991c86e75d58f7eb4c9f524815c4de054d5f262
related-to-bug: 6565826
parent 0bbf868d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3648,7 +3648,7 @@ status_t OMXCodec::start(MetaData *meta) {
}

status_t OMXCodec::stop() {
    CODEC_LOGV("stop mState=%d", mState);
    CODEC_LOGI("stop mState=%d", mState);

    Mutex::Autolock autoLock(mLock);

@@ -3748,9 +3748,10 @@ status_t OMXCodec::stop() {
        mLeftOverBuffer = NULL;
    }

    CODEC_LOGI("stopping in state %d", mState);
    mSource->stop();

    CODEC_LOGV("stopped in state %d", mState);
    CODEC_LOGI("stopped in state %d", mState);

    return OK;
}