commit | 1fc98a322e9df6b0e797c26de6b2cb23d69ad5d3 | [log] [tgz] |
---|---|---|
author | Grace Kloba <klobag@google.com> | Wed Oct 21 13:23:08 2009 -0700 |
committer | Grace Kloba <klobag@google.com> | Wed Oct 21 13:23:08 2009 -0700 |
tree | d8e81cf8bcfe24776a121876554fbc5b030be8bb | |
parent | aed8c32e130fbd53349b1309734885262e3e552c [diff] [blame] |
Remove the fake title bar in onDestroy so that we will not leak the window. Fix http://b/issue?id=2198565
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) {