summaryrefslogtreecommitdiff
path: root/libutils/RefBase.cpp
diff options
context:
space:
mode:
authorMuhammad Qureshi <muhammadq@google.com>2020-07-08 10:29:00 -0700
committerJeffrey Huang <jeffreyhuang@google.com>2020-10-08 18:22:51 +0000
commitf31c5f5692227cedeb5bf76773c2b3fc8e7686fd (patch)
treea3566cf15fe21c29dc9cd65071f49acdddf68ecc /libutils/RefBase.cpp
parent1412c5798be587b7bff2296f7627e157926925fd (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)
Diffstat (limited to 'libutils/RefBase.cpp')
0 files changed, 0 insertions, 0 deletions