summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/webkit/PluginFullScreenHolder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/webkit/PluginFullScreenHolder.java b/core/java/android/webkit/PluginFullScreenHolder.java
index 1deca67562dc..ae326d597997 100644
--- a/core/java/android/webkit/PluginFullScreenHolder.java
+++ b/core/java/android/webkit/PluginFullScreenHolder.java
@@ -54,7 +54,8 @@ class PluginFullScreenHolder extends Dialog {
ViewGroup.LayoutParams.MATCH_PARENT));
// fixed size is only used either during pinch zoom or surface is too
// big. Make sure it is not fixed size before setting it to the full
- // screen content view
+ // screen content view. The SurfaceView will be set to the correct mode
+ // by the ViewManager when it is re-attached to the WebView.
if (contentView instanceof SurfaceView) {
final SurfaceView sView = (SurfaceView) contentView;
if (sView.isFixedSize()) {