summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BaseUi.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-12-16 09:52:29 -0800
committerMichael Kolb <kolby@google.com>2011-12-16 09:52:29 -0800
commit7ac63b64e9f127057f93b12fb65400c5a6dee7c4 (patch)
tree07a741c58e5f997c1fa80ebd8402c188e541fff8 /src/com/android/browser/BaseUi.java
parentc159c1a79e28904b8755e5f0947b279f96475f6b (diff)
downloadpackages_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.java1
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);