Merge "Add null check for input view." into udc-dev
This commit is contained in:
@@ -474,7 +474,8 @@ public class KeyguardSecurityContainer extends ConstraintLayout {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Avoid dragging the pattern view
|
// Avoid dragging the pattern view
|
||||||
if (mSecurityViewFlipper.getSecurityView().disallowInterceptTouch(event)) {
|
if (mSecurityViewFlipper.getSecurityView() != null
|
||||||
|
&& mSecurityViewFlipper.getSecurityView().disallowInterceptTouch(event)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
int index = event.findPointerIndex(mActivePointerId);
|
int index = event.findPointerIndex(mActivePointerId);
|
||||||
|
|||||||
Reference in New Issue
Block a user