Merge "Avoid calling proxy.playbackEnded() again in onCustomViewHidden(). It is now always called via the MediaPlayer.onCompletion() callback." into froyo
This commit is contained in:
committed by
Android (Google) Code Review
commit
3fe36fe589
@@ -129,9 +129,10 @@ class HTML5VideoViewProxy extends Handler
|
||||
// is invoked.
|
||||
mTimer.cancel();
|
||||
mTimer = null;
|
||||
mCurrentProxy.playbackEnded();
|
||||
if (mVideoView.isPlaying()) {
|
||||
mVideoView.stopPlayback();
|
||||
}
|
||||
mCurrentProxy = null;
|
||||
mVideoView.stopPlayback();
|
||||
mLayout.removeView(mVideoView);
|
||||
mVideoView = null;
|
||||
if (mProgressView != null) {
|
||||
|
||||
Reference in New Issue
Block a user