• Glenn Kasten's avatar
    Bug 5385386 missing HEADATNEWPOS · a9f22e6f
    Glenn Kasten authored
    Workaround for mediaserver bug where it does not send MEDIA_SEEK_COMPLETE
    to the MediaPlayerNotifier after a discontinuity is processed.
    
    Instead, we simulate a seek complete event in this case.
    A short delay is applied to compensate for shared memory latency.
    
    A longer-term fix will be to have mediaserver send the event.
    
    Change-Id: Id0d01b842a145fa5762d44f03144741152f7b03f
    a9f22e6f
android_GenericMediaPlayer.cpp 17.3 KB