Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d232164 authored by Andrei Popescu's avatar Andrei Popescu Committed by Android Git Automerger
Browse files

am ec472da7: am 1531d211: am 3fe36fe5: Merge "Avoid calling...

am ec472da7: am 1531d211: am 3fe36fe5: Merge "Avoid calling proxy.playbackEnded() again in onCustomViewHidden(). It is now always called via the MediaPlayer.onCompletion() callback." into froyo
parents 604c0371 ec472da7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -129,9 +129,10 @@ class HTML5VideoViewProxy extends Handler
                    // is invoked.
                    mTimer.cancel();
                    mTimer = null;
                    mCurrentProxy.playbackEnded();
                    mCurrentProxy = null;
                    if (mVideoView.isPlaying()) {
                        mVideoView.stopPlayback();
                    }
                    mCurrentProxy = null;
                    mLayout.removeView(mVideoView);
                    mVideoView = null;
                    if (mProgressView != null) {