am c9ad822e: am 1fc98a32: Remove the fake title bar in onDestroy so that we will not leak the window.
Merge commit 'c9ad822edbb5878d28c36954e021dae9dd4bd5c2'
* commit 'c9ad822edbb5878d28c36954e021dae9dd4bd5c2':
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) {