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

Commit 72b9d656 authored by James Dong's avatar James Dong Committed by The Android Automerger
Browse files

Added some informational log messages to track down ANR related issues

Change-Id: Ie991c86e75d58f7eb4c9f524815c4de054d5f262
related-to-bug: 6565826
parent ffe09e3e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3643,7 +3643,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);

@@ -3724,9 +3724,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;
}