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

* commit '79f7381f8b4e9a462d012740c2a902ae3de8a6b0':
  Fix bug 6596440: NPE when pulling down notification window
This commit is contained in:
Raph Levien
2012-06-01 19:01:03 -07:00
committed by Android Git Automerger

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;