diff options
author | Michael Kolb <kolby@google.com> | 2011-12-16 09:52:29 -0800 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2011-12-16 09:52:29 -0800 |
commit | 7ac63b64e9f127057f93b12fb65400c5a6dee7c4 (patch) | |
tree | 07a741c58e5f997c1fa80ebd8402c188e541fff8 /src/com/android/browser/BaseUi.java | |
parent | c159c1a79e28904b8755e5f0947b279f96475f6b (diff) | |
download | packages_apps_browser-7ac63b64e9f127057f93b12fb65400c5a6dee7c4.zip packages_apps_browser-7ac63b64e9f127057f93b12fb65400c5a6dee7c4.tar.gz packages_apps_browser-7ac63b64e9f127057f93b12fb65400c5a6dee7c4.tar.bz2 |
Shock the Monkey
Bug: 5731650
Change-Id: Icf2c3aba7f1146b1f78d191a807121dcbe3012ae
Diffstat (limited to 'src/com/android/browser/BaseUi.java')
-rw-r--r-- | src/com/android/browser/BaseUi.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index 69063eb..e1d7047 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java @@ -236,6 +236,7 @@ public abstract class BaseUi implements UI { @Override public void setActiveTab(final Tab tab) { + if (tab == null) return; mHandler.removeMessages(MSG_HIDE_TITLEBAR); if ((tab != mActiveTab) && (mActiveTab != null)) { removeTabFromContentView(mActiveTab); |