Skip to content

Commit 79f7381

Browse files
raphlinusAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev
2 parents 40ba4da + 311a961 commit 79f7381

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,9 @@ private void makeExpandedVisible() {
10541054
}
10551055

10561056
private static void makeSlippery(View view, boolean slippery) {
1057+
if (view == null) {
1058+
return;
1059+
}
10571060
WindowManager.LayoutParams lp = (WindowManager.LayoutParams) view.getLayoutParams();
10581061
if (slippery) {
10591062
lp.flags |= WindowManager.LayoutParams.FLAG_SLIPPERY;

0 commit comments

Comments
 (0)