Skip to content

Commit c63aa96

Browse files
Hiroshi LockheimerAndroid (Google) Code Review
authored andcommitted
Merge "Fix NPE." into jb-mr1-dev
2 parents fbba753 + 1a3bdd5 commit c63aa96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ public void onDraw(Canvas canvas) {
121121
}
122122

123123
public void cancelExpandHelper() {
124-
mExpandHelper.cancel();
124+
if (mExpandHelper != null) {
125+
mExpandHelper.cancel();
126+
}
125127
}
126128
}
127129

0 commit comments

Comments
 (0)