OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00998fb
)
Add a check to track a problem the monkey script has been triggering.
author
Marco Nelissen
<marcone@google.com>
Fri, 17 Sep 2010 22:04:01 +0000
(15:04 -0700)
committer
Marco Nelissen
<marcone@google.com>
Fri, 17 Sep 2010 22:04:01 +0000
(15:04 -0700)
Change-Id: If3896946d993cbab2442e17740f18efd7e753a3b
media/libmedia/mediaplayer.cpp
patch
|
blob
|
history
diff --git
a/media/libmedia/mediaplayer.cpp
b/media/libmedia/mediaplayer.cpp
index
f3229c0
..
c6b2efb
100644
(file)
--- 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;
}