commit | af64a8a6ad89f52685e822dca30742a4132c9ae6 | [log] [tgz] |
---|---|---|
author | Gloria Wang <gwang@google.com> | Thu Aug 18 14:52:36 2011 -0700 |
committer | Gloria Wang <gwang@google.com> | Thu Aug 18 14:52:36 2011 -0700 |
tree | 667302be03f9fb7a9fa08d9352847fc2ecdf1e23 | |
parent | ee0846f97cf07f5f18d19161526743330aabb44e [diff] |
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. Change-Id: I290aff29b6d9ec8db67c66abbe1f352a43f57073