commit | 4dd9dc8204105a25e37dacbc392ea3c7212a8063 | [log] [tgz] |
---|---|---|
author | Teng-Hui Zhu <ztenghui@google.com> | Thu May 10 17:20:19 2012 -0700 |
committer | Teng-Hui Zhu <ztenghui@google.com> | Thu May 10 17:23:24 2012 -0700 |
tree | 09868e073924e19c0c9cb1e2fb5225d998988827 | |
parent | f4c77df0593c1bb81dd5ee04ee415a8cf3bd37bb [diff] [blame] |
Keep the controller when video ended. Use the media controller as a reminder to the user when the video ended. We don't quit the video here b/c user may want to replay the video. bug:5340224 Change-Id: I6d5fdb54bb614277b75e1a18ebe0a7dadd47017e
diff --git a/core/java/android/webkit/HTML5VideoViewProxy.java b/core/java/android/webkit/HTML5VideoViewProxy.java index 5fa4bad..89b8630 100644 --- a/core/java/android/webkit/HTML5VideoViewProxy.java +++ b/core/java/android/webkit/HTML5VideoViewProxy.java
@@ -273,6 +273,7 @@ } public static void end() { + mHTML5VideoView.showControllerInFullScreen(); if (mCurrentProxy != null) { if (isVideoSelfEnded) mCurrentProxy.dispatchOnEnded();