diff options
author | Michael Kolb <kolby@google.com> | 2012-05-15 15:47:38 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-05-15 15:47:38 -0700 |
commit | c88e35f5971316a4c2ecc2ec8a005e7eb6017729 (patch) | |
tree | 43494799d8d5a523506626bd2e604d73b9b234ec /src | |
parent | 9f5e747054c0c2d8726c2ac4298f3cad5c639b91 (diff) | |
parent | 54217b39d7d097f2f4fe9fac928a1c3bf1b9f13f (diff) | |
download | packages_apps_Browser-c88e35f5971316a4c2ecc2ec8a005e7eb6017729.zip packages_apps_Browser-c88e35f5971316a4c2ecc2ec8a005e7eb6017729.tar.gz packages_apps_Browser-c88e35f5971316a4c2ecc2ec8a005e7eb6017729.tar.bz2 |
am 54217b39: Hide webview when showing a custom view
* commit '54217b39d7d097f2f4fe9fac928a1c3bf1b9f13f':
Hide webview when showing a custom view
Diffstat (limited to 'src')
-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); |