diff options
| author | 2024-07-05 15:32:29 +0000 | |
|---|---|---|
| committer | 2024-07-08 13:31:41 +0000 | |
| commit | 0d98f3df6eb6878713eabfc2577bc4d3b3cbe851 (patch) | |
| tree | b58813a84d10585430cd00149cc80f3ad2f61fb6 /libs/androidfw/StringPool.cpp | |
| parent | be520f1eeff1b66af4981943c3b7d53f2c8d3e23 (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