summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBookatz <bookatz@google.com>2017-07-11 16:49:17 -0700
committerJack He <siyuanh@google.com>2017-10-16 23:18:30 +0000
commit20e22f6248444e4e6563ccaf60e09ad9d5e7b112 (patch)
tree84d81048ffbcb1c9c9c391a15a5f62d0acbe2be7 /tools/aapt2/java/JavaClassGenerator.cpp
parent154535317eaa84a50d70cb3af8697ab4e2c89a25 (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 Merged-In: Ia73f294cf1807ddaf20f1c0bcc28add001cac78c (cherry picked from commit 94c5a313d7313a9a88abdf4267af43b87deb0dd2)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions