diff options
author | Adam Bookatz <bookatz@google.com> | 2020-12-03 23:52:02 -0800 |
---|---|---|
committer | Adam Bookatz <bookatz@google.com> | 2020-12-04 09:20:52 +0000 |
commit | 0d4205e6aa711c50b3a94a91d8159219c77e102c (patch) | |
tree | c83bc387ae789073770f813abc44533dede8de8e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1086c93f778b68b642b0a5536f23cbbaa0c9787f (diff) |
Fix BatteryExternalStatsWorker UPDATE_ALL usage
In some places, BESW compares the update flag against UPDATE_ALL
in a way that will always be true, instead of seeing if it is
actually equal to it.
This would have led to far more frequent updateKernelWakelocksLocked
and updateKernelMemoryBandwidthLocked calls than intended.
Test: n/a
Bug: 174818202
Change-Id: I19a5cf80eee0768989dcea0c2f205dc9f749ac9f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions