summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2010-11-27 17:45:14 -0800
committerJoe Onorato <joeo@google.com>2010-11-27 17:45:14 -0800
commit5797f192eb598b30f8cf1e7a2107a6553eb399b8 (patch)
tree835ec2d9a45d329ef07d7a7a174de83dbe37a8af /packages
parentaf5e4da2a5766198f533f1ff9e2072d2cd5c63d4 (diff)
downloadframeworks_base-5797f192eb598b30f8cf1e7a2107a6553eb399b8.zip
frameworks_base-5797f192eb598b30f8cf1e7a2107a6553eb399b8.tar.gz
frameworks_base-5797f192eb598b30f8cf1e7a2107a6553eb399b8.tar.bz2
Check if this is null.
Change-Id: Ia74babdd1b1d76a2e5965db66bb995ea659dc6c1
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java
index e7537f0..4d0afce 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java
@@ -132,7 +132,7 @@ public class TabletTicker extends Handler {
// if there's nothing left, close the window
// TODO: Do this when the animation is done instead
- if (mCurrentView == null) {
+ if (mCurrentView == null && mWindow != null) {
WindowManagerImpl.getDefault().removeView(mWindow);
mWindow = null;
}