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

Commit 3c473ea7 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Add a check to track a problem the monkey script has been triggering.

Change-Id: If3896946d993cbab2442e17740f18efd7e753a3b
parent 838e93ed
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -590,6 +590,9 @@ void MediaPlayer::notify(int msg, int ext1, int ext2)
        break;
    case MEDIA_PLAYBACK_COMPLETE:
        LOGV("playback complete");
        if (mCurrentState == MEDIA_PLAYER_IDLE) {
            LOGE("playback complete in idle state");
        }
        if (!mLoop) {
            mCurrentState = MEDIA_PLAYER_PLAYBACK_COMPLETE;
        }