Merge "Add null check in InputManagerService#verifyInputEvent" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a47172813a
@@ -900,6 +900,7 @@ public class InputManagerService extends IInputManager.Stub
|
|||||||
|
|
||||||
@Override // Binder call
|
@Override // Binder call
|
||||||
public VerifiedInputEvent verifyInputEvent(InputEvent event) {
|
public VerifiedInputEvent verifyInputEvent(InputEvent event) {
|
||||||
|
Objects.requireNonNull(event, "event must not be null");
|
||||||
return nativeVerifyInputEvent(mPtr, event);
|
return nativeVerifyInputEvent(mPtr, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user