summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-04-01 13:38:21 -0700
committer Siarhei Vishniakou <svv@google.com> 2022-04-04 17:30:09 +0000
commit8970010a5e9f3dc5c069f56b4147552accfcbbeb (patch)
tree5d66427e27e2866e2262ab4e8608fb34392fed24 /libs/androidfw/StringPool.cpp
parentd0923a21976ec9946601fe4450d135510578d578 (diff)
Check that InputDevice isn't null and add annotations
The API 'getDevice' can return null. Let's make sure null isn't dereferenced. Also, add nullability annotations to make it easier to follow. Bug: 227733127 Test: build only Change-Id: Ice514f27d4347528d009969174f09078dfa2afac
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions