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

Commit 842b914f authored by Teng-Hui Zhu's avatar Teng-Hui Zhu Committed by Android Git Automerger
Browse files

am a7605d3b: am 2d09b855: Merge "When the video is not on the front, it should...

am a7605d3b: am 2d09b855: Merge "When the video is not on the front, it should be paused" into honeycomb-mr1

* commit 'a7605d3b':
  When the video is not on the front, it should be paused
parents 64233b86 a7605d3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ class HTML5VideoViewProxy extends Handler
                    boolean foundInTree = nativeSendSurfaceTexture(surfTexture,
                            layer, currentVideoLayerId, textureName,
                            playerState);
                    if (playerState == HTML5VideoView.STATE_PREPARED
                    if (playerState >= HTML5VideoView.STATE_PREPARED
                            && !foundInTree) {
                        mHTML5VideoView.pauseAndDispatch(mCurrentProxy);
                        mHTML5VideoView.deleteSurfaceTexture();