diff options
author | Hugo Benichi <hugobenichi@google.com> | 2018-02-24 08:01:30 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2018-02-24 08:01:30 +0900 |
commit | e73486bf2458770b71f1dd1a6862e87b2875bd52 (patch) | |
tree | 49518eca7f57c4e2c94ed1f3809961183a967133 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1ea3d9411ab4a66f94e64ffa0d358a139117e15c (diff) |
Fix NPE in NetworkMetrics
addTcpStatsResult() in NetworkMetrics was not checking for the nullness
of the pendingSummary object and trying to add stats regardless.
This patch fixes addTcpStatsResult() so that it populates pendingSummary
if necessary, similarly to addConnectResult() and addDnsResult()
Bug: 73825228
Test: runtest frameworks-net
Change-Id: I616a4be0e6e5920bd2f5c58292fea769bd516df7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions