summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAdam Bookatz <bookatz@google.com>2021-03-19 13:15:54 -0700
committerAdam Bookatz <bookatz@google.com>2021-03-19 20:28:38 +0000
commit9601383b2590186ba6740b56c1fc87f3d23c7ebc (patch)
tree1e8daa52840bfbe87de7105c174b4d870901163d /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent1bdbcffaa16dc5e5e1ca2992ca339957ee7a937e (diff)
Fix error in MeasuredEnergySnapshot voltage
The voltage algorithm didn't seem quite right; e.g. if avgVoltageMV == 1, this would give the wrong value. We presumably should round off, not up. Indeed, the tests in MeasuredEnergySnapshotTest already do so. Bug: 173765509 Test: atest BatteryStatsTests Change-Id: Iefc5011d2df01b2f24dd13145d39fdc4de34753f
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions