diff options
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/webkit/HTML5VideoViewProxy.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/webkit/HTML5VideoViewProxy.java b/core/java/android/webkit/HTML5VideoViewProxy.java index 060c0bb..d1b8cfc 100644 --- a/core/java/android/webkit/HTML5VideoViewProxy.java +++ b/core/java/android/webkit/HTML5VideoViewProxy.java @@ -184,7 +184,9 @@ class HTML5VideoViewProxy extends Handler // we need to pause the old one and re-create a new media player // inside the HTML5VideoView. if (mHTML5VideoView != null) { - mHTML5VideoView.pauseAndDispatch(mCurrentProxy); + if (!backFromFullScreenMode) { + mHTML5VideoView.pauseAndDispatch(mCurrentProxy); + } // release the media player to avoid finalize error mHTML5VideoView.release(); } |