Skip to content

Commit 1a3bdd5

Browse files
committed
Fix NPE.
Bug: 7401286 Change-Id: I45334c4b2263bb611952b7dd949f5df98556377d
1 parent 8ed4822 commit 1a3bdd5

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)