summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSiddharth Ray <siddharthr@google.com>2018-06-17 18:28:44 -0700
committerSiddharth Ray <siddharthr@google.com>2018-06-27 15:43:03 -0700
commit97f62bf61db50288d3057127ea184b0937437df9 (patch)
treef9124212ee40463679c41240fe555e10f07d1424 /tools/aapt2/java/JavaClassGenerator.cpp
parent726df7efc9e8faad94ee8133fcb4fd976b66ebda (diff)
Fix in Wifi activity updates
When Wifi firmware resets link layer stats, it sometimes returns a value for On time which is much larger than the duration of the report. On time = Idle time + Rx time + Tx time. This change prevents those errors from affecting Wifi power metrics. BUG:110325882 Test: adb shell dumpsys batterystats WiFi Scan time: 12s 302ms WiFi Idle time: 5m 48s 634ms WiFi Rx time: 24s 232ms WiFi Tx time: 10s 510ms Change-Id: I7b69fc728b275f89154dd0c1d7382576ebfadc29
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions