diff options
author | Michael Kolb <kolby@google.com> | 2012-05-15 13:24:24 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2012-05-15 15:23:57 -0700 |
commit | 54217b39d7d097f2f4fe9fac928a1c3bf1b9f13f (patch) | |
tree | 2e13375d1add10a04dc5e2db15c1d7dcd8061dfd /src/com/android/browser/BaseUi.java | |
parent | 89585a179c61300c2f0239975b190196ce9f23dc (diff) | |
download | packages_apps_Browser-54217b39d7d097f2f4fe9fac928a1c3bf1b9f13f.zip packages_apps_Browser-54217b39d7d097f2f4fe9fac928a1c3bf1b9f13f.tar.gz packages_apps_Browser-54217b39d7d097f2f4fe9fac928a1c3bf1b9f13f.tar.bz2 |
Hide webview when showing a custom view
bug:6477718
Change-Id: Id3253096755ac4c174a791115f06dcb195b699c7
Diffstat (limited to 'src/com/android/browser/BaseUi.java')
-rw-r--r-- | src/com/android/browser/BaseUi.java | 2 |
1 files changed, 2 insertions, 0 deletions
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); |