From 54217b39d7d097f2f4fe9fac928a1c3bf1b9f13f Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Tue, 15 May 2012 13:24:24 -0700 Subject: Hide webview when showing a custom view bug:6477718 Change-Id: Id3253096755ac4c174a791115f06dcb195b699c7 --- src/com/android/browser/BaseUi.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index 42c7206..bb44336 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java @@ -527,12 +527,14 @@ public abstract class BaseUi implements UI { decor.addView(mFullscreenContainer, COVER_SCREEN_PARAMS); mCustomView = view; setFullscreen(true); + ((BrowserWebView) getWebView()).setVisibility(View.INVISIBLE); mCustomViewCallback = callback; mActivity.setRequestedOrientation(requestedOrientation); } @Override public void onHideCustomView() { + ((BrowserWebView) getWebView()).setVisibility(View.VISIBLE); if (mCustomView == null) return; setFullscreen(false); -- cgit v1.1