summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorBookatz <bookatz@google.com>2017-05-24 12:00:17 -0700
committerBookatz <bookatz@google.com>2017-05-24 12:00:17 -0700
commit8c6f3c507fc77d07ab0c8edd2ff835801cc71e4d (patch)
tree4082f1e4410d3ffc04e321efa76bae85520cd5e6 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent61e2b158661f75f1e128a6bd81bd296cadeb84b0 (diff)
Fix batterystat Counter misreporting when charging
The BatteryStatsImpl.Counter would previously increment the count even when the timeBase was off. Then, when the timeBase was turned back on, the count would be decreased back to the correct value. Thus, when the timeBase was on, the reported count would be correct, but when the timeBase was off, the reported count would be wrong (too high). Here, we fix this. We also make some other minor improvements. Bug: 36728346 Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java Change-Id: I2fa566a8a4cad4cdff0e6caef37b1eef36a3f5c4
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions