Merge "Fix NPE."
This commit is contained in:
committed by
Android (Google) Code Review
commit
439f5c6b39
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user