From 1c1503cf47c0a37a30e7acac2c5d29140fc61a5f Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Fri, 17 Sep 2010 15:04:01 -0700 Subject: Add a check to track a problem the monkey script has been triggering. Change-Id: If3896946d993cbab2442e17740f18efd7e753a3b --- media/libmedia/mediaplayer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'media/libmedia/mediaplayer.cpp') diff --git a/media/libmedia/mediaplayer.cpp b/media/libmedia/mediaplayer.cpp index f3229c0..c6b2efb 100644 --- a/media/libmedia/mediaplayer.cpp +++ b/media/libmedia/mediaplayer.cpp @@ -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; } -- cgit v1.1