From 4923c22cb79296a9624a599cf8874323cdbc6cbc Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Mon, 2 Apr 2012 16:18:36 -0700 Subject: Don't embed titlebar in WebView Bug: 5032345 The titlebar gets attached to an overlay and tracks the scrolling of the WebView at the top of the page. Change-Id: I60b2163bb7a3642813823995278722455f566f36 --- src/com/android/browser/Tab.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/com/android/browser/Tab.java') diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java index acccb3150..cfbd88a31 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -1566,8 +1566,6 @@ class Tab implements PictureListener { void destroy() { if (mMainView != null) { dismissSubWindow(); - // Make sure the embedded title bar isn't still attached - getWebViewClassic().setEmbeddedTitleBar(null); // save the WebView to call destroy() after detach it from the tab WebView webView = mMainView; setWebView(null); -- cgit v1.2.3