Merge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev

This commit is contained in:
Raph Levien
2012-06-01 13:02:36 -07:00
committed by Android (Google) Code Review

View File

@@ -1054,6 +1054,9 @@ public class PhoneStatusBar extends BaseStatusBar {
}
private static void makeSlippery(View view, boolean slippery) {
if (view == null) {
return;
}
WindowManager.LayoutParams lp = (WindowManager.LayoutParams) view.getLayoutParams();
if (slippery) {
lp.flags |= WindowManager.LayoutParams.FLAG_SLIPPERY;