diff options
author | Bookatz <bookatz@google.com> | 2017-07-11 16:49:17 -0700 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2017-07-21 21:46:01 +0000 |
commit | 94c5a313d7313a9a88abdf4267af43b87deb0dd2 (patch) | |
tree | 95df59b443c809ad645d748943d4acc62edf120e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | cdcbbeccb76cd28daf8e18af7acc71f79ba0fc81 (diff) |
Batterystats handles nested unoptimized ble scans
When a ble scan starts, it tells batterystats whether that scan is
unoptimized. When the scan stops, batterystats is not informed of
whether the stopped scan was unoptimized. Because the ble scan call
could not be nested (couldn't call start twice without stopping first),
this was fine, but now nesting is possible, so batterystats needs to
know whether the stopped ble scan is unoptimized.
Bug: 63456783
Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
Test: no new errors when run cts-dev -m CtsIncidentHostTestCases -t com.android.server.cts.BatteryStatsValidationTest#testUnoptimizedBleScans
Change-Id: Ia73f294cf1807ddaf20f1c0bcc28add001cac78c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions