From 4dd9dc8204105a25e37dacbc392ea3c7212a8063 Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Thu, 10 May 2012 17:20:19 -0700 Subject: 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 --- core/java/android/webkit/HTML5VideoViewProxy.java | 1 + 1 file changed, 1 insertion(+) (limited to 'core/java/android/webkit/HTML5VideoViewProxy.java') diff --git a/core/java/android/webkit/HTML5VideoViewProxy.java b/core/java/android/webkit/HTML5VideoViewProxy.java index 5fa4badda334..89b86300a089 100644 --- a/core/java/android/webkit/HTML5VideoViewProxy.java +++ b/core/java/android/webkit/HTML5VideoViewProxy.java @@ -273,6 +273,7 @@ class HTML5VideoViewProxy extends Handler } public static void end() { + mHTML5VideoView.showControllerInFullScreen(); if (mCurrentProxy != null) { if (isVideoSelfEnded) mCurrentProxy.dispatchOnEnded(); -- cgit v1.2.3