diff options
| author | Grace Kloba <klobag@google.com> | 2009-10-21 13:23:08 -0700 |
|---|---|---|
| committer | Grace Kloba <klobag@google.com> | 2009-10-21 13:23:08 -0700 |
| commit | 1fc98a322e9df6b0e797c26de6b2cb23d69ad5d3 (patch) | |
| tree | d8e81cf8bcfe24776a121876554fbc5b030be8bb /src/com/android/browser/BrowserActivity.java | |
| parent | aed8c32e130fbd53349b1309734885262e3e552c (diff) | |
| download | packages_apps_Browser-1fc98a322e9df6b0e797c26de6b2cb23d69ad5d3.tar.gz packages_apps_Browser-1fc98a322e9df6b0e797c26de6b2cb23d69ad5d3.tar.bz2 packages_apps_Browser-1fc98a322e9df6b0e797c26de6b2cb23d69ad5d3.zip | |
Remove the fake title bar in onDestroy so that we will
not leak the window.
Fix http://b/issue?id=2198565
Diffstat (limited to 'src/com/android/browser/BrowserActivity.java')
| -rw-r--r-- | src/com/android/browser/BrowserActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index 1b3a93dc3..b2a1cbc72 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -996,6 +996,9 @@ public class BrowserActivity extends Activity 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) { |
