* commit '79f7381f8b4e9a462d012740c2a902ae3de8a6b0':
Fix bug 6596440: NPE when pulling down notification window
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user