Merge "Add null check in InputManagerService#verifyInputEvent" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-10-06 13:29:55 +00:00
committed by Android (Google) Code Review

View File

@@ -900,6 +900,7 @@ public class InputManagerService extends IInputManager.Stub
@Override // Binder call
public VerifiedInputEvent verifyInputEvent(InputEvent event) {
Objects.requireNonNull(event, "event must not be null");
return nativeVerifyInputEvent(mPtr, event);
}