| commit | ce12c49487ce561a573872762f68bfdfa015da04 | [log] [tgz] |
|---|---|---|
| author | Vadim Caen <caen@google.com> | Fri Sep 13 15:38:44 2024 +0200 |
| committer | Vadim Caen <caen@google.com> | Fri Sep 13 15:38:44 2024 +0200 |
| tree | 3f37cbb03d39af8a6f8b0c0358c0c0b201a1325c | |
| parent | 1fcfc067ee0a7fa3370b3b02043cbc9636184ca5 [diff] |
Message for input device name nullity check
When building an input event, if ones forget to set the name of the
device, the only message debug info they got is this stacktrace
```
java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:208)
at android.hardware.input.VirtualInputDeviceConfig.<init>(VirtualInputDeviceConfig.java:60)
```
Bug: N/A
Test: N/A
Flag: DOCS_ONLY
Change-Id: I7f1418b36176b3f6ff915e16929bd6416602fe3c