am 1531d211: am 3fe36fe5: Merge "Avoid calling proxy.playbackEnded() again in onCustomViewHidden(). It is now always called via the MediaPlayer.onCompletion() callback." into froyo
Merge commit '1531d211249783bdfc3ded9323397f22a5f1fc34' into kraken * commit '1531d211249783bdfc3ded9323397f22a5f1fc34': Avoid calling proxy.playbackEnded() again in onCustomViewHidden().
This commit is contained in:
@@ -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