diff options
| -rw-r--r-- | services/core/java/com/android/server/input/InputManagerService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/input/InputManagerService.java b/services/core/java/com/android/server/input/InputManagerService.java index b0b8be2c9677..fae7e451b529 100644 --- a/services/core/java/com/android/server/input/InputManagerService.java +++ b/services/core/java/com/android/server/input/InputManagerService.java @@ -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); } |