summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Vadim Caen <caen@google.com> 2024-09-13 15:38:44 +0200
committer Vadim Caen <caen@google.com> 2024-09-13 15:38:44 +0200
commitce12c49487ce561a573872762f68bfdfa015da04 (patch)
tree3f37cbb03d39af8a6f8b0c0358c0c0b201a1325c /libs/androidfw/StringPool.cpp
parent1fcfc067ee0a7fa3370b3b02043cbc9636184ca5 (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions