commit | f31c5f5692227cedeb5bf76773c2b3fc8e7686fd | [log] [tgz] |
---|---|---|
author | Muhammad Qureshi <muhammadq@google.com> | Wed Jul 08 10:29:00 2020 -0700 |
committer | Jeffrey Huang <jeffreyhuang@google.com> | Thu Oct 08 18:22:51 2020 +0000 |
tree | a3566cf15fe21c29dc9cd65071f49acdddf68ecc | |
parent | 1412c5798be587b7bff2296f7627e157926925fd [diff] |
Handle null values in AStatsEvent - Treat NULL strings and byte arrays as zero-length strings/byte arrays. This maintains backwards compatibility with legacy protocol which handled nulls. Bug: 155363739 Test: atest libstatssocket_test Change-Id: I484b7c968270ae7228ea53bb97c7e6a2dbebe983 Merged-In: I484b7c968270ae7228ea53bb97c7e6a2dbebe983 (cherry picked from commit 7a19241f21ab47b7be70d47dd5297effed900280)