diff options
| author | 2011-02-16 11:32:39 -0800 | |
|---|---|---|
| committer | 2011-02-16 11:32:39 -0800 | |
| commit | 439f5c6b39fe648da835d4c86dfcffed0f46dd94 (patch) | |
| tree | 106ea2a0601182170d525c2634ad6584644a7cd3 | |
| parent | d33a4ccb5c3b58406cee45a4d933d40219177f8c (diff) | |
| parent | bec7d63c9cad875bb127786d61ee34b4d609db59 (diff) | |
Merge "Fix NPE."
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java | 4 |
1 files changed, 3 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 a072aedd08b6..a8f4262aff79 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java @@ -158,7 +158,9 @@ public class TabletTicker private void advance() { // Out with the old... if (mCurrentView != null) { - mWindow.removeView(mCurrentView); + if (mWindow != null) { + mWindow.removeView(mCurrentView); + } mCurrentView = null; mCurrentKey = null; mCurrentNotification = null; |