OSDN Git Service

Merge "When switching surface, do not set mSeekNotificationSent as true, because...
authorGloria Wang <gwang@google.com>
Thu, 18 Aug 2011 22:14:36 +0000 (15:14 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Thu, 18 Aug 2011 22:14:36 +0000 (15:14 -0700)
commitdc9a241a50a05f128f0adfe89c6aa592a0716af1
treef0e6091c2d5cb933bee38b074f7ca071c0ac8aa9
parentf956b400b33ff7f1e3daa3eb004bb986a3355df1
parentca9adcac53b2cb50aa81a7b6ed6e5bf30da59ee3
Merge "When switching surface, do not set mSeekNotificationSent as true, because there could be a previous uncompleted seeking which needs to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent as true here, then mediaplayer.cpp will be waiting for message MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp. Fix for bug 5181272."