am 1fc98a32: Remove the fake title bar in onDestroy so that we will not leak the window.
Merge commit '1fc98a322e9df6b0e797c26de6b2cb23d69ad5d3' into eclair-mr2-plus-aosp
* commit '1fc98a322e9df6b0e797c26de6b2cb23d69ad5d3':
Remove the fake title bar in onDestroy so that we will
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 1b3a93d..b2a1cbc 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -996,6 +996,9 @@
if (mTabControl == null) return;
+ // Remove the fake title bar if it is there
+ hideFakeTitleBar();
+
// Remove the current tab and sub window
Tab t = mTabControl.getCurrentTab();
if (t != null) {