summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-12-06 13:28:09 +0900
committerHugo Benichi <hugobenichi@google.com>2017-12-09 13:02:51 +0900
commit71a1b532b536d9a6007084a49cc6614baa4bc147 (patch)
tree48c1407f12ec8080930f853222e2f477c68aa54b /tools/aapt2/java/JavaClassGenerator.cpp
parentcdb84d2fc722f9f28bbcaee949798324c95c068a (diff)
DefaultNetworkEvent: fix two bugs with validation times
This patch fixes two bugs around the validation time calculation for default network metrics: - for events representing the absence of a default network, the validation time was not correctly set to 0. - for events representing a default network, the validation time was always set to the duration time. This was overlooked by commit 380a0638588d. Also fix a minor printing padding issue in DefaultNetworkEvent#toString Test: manually inspected the output of $ adb shell dumpsys connmetrics while enabling and disabling wifi. Change-Id: I0eb4ccdf7a61d3097d0661104cb40d738e59772a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions