Merge "Add a check to track a problem the monkey script has been triggering." into gingerbread

This commit is contained in:
Marco Nelissen
2010-09-17 15:39:00 -07:00
committed by Android (Google) Code Review

View File

@@ -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;
}