summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Pablo Gamito <pablogamito@google.com> 2024-07-05 15:32:29 +0000
committer Pablo Gamito <pablogamito@google.com> 2024-07-08 13:31:41 +0000
commit0d98f3df6eb6878713eabfc2577bc4d3b3cbe851 (patch)
treeb58813a84d10585430cd00149cc80f3ad2f61fb6 /libs/androidfw/StringPool.cpp
parentbe520f1eeff1b66af4981943c3b7d53f2c8d3e23 (diff)
Fix NPE in LegacyProtoLogImpl
To avoid an allocation when there are no args, the ProtoLog code processor passes null instead of the args object array. This CL also adds a @Nullable annotation to the args parameter in the log() method, to make it clear that the parameter can be null. Flag: EXEMPT bug fix Bug: 351324791 Bug: 351458758 Change-Id: I2f132a4eaa42c6a22231fbb9d33204052843047e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions