summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Xiang Wang <xwxw@google.com> 2024-06-05 16:20:01 -0700
committer Xiang Wang <xwxw@google.com> 2024-06-05 23:31:19 +0000
commite23c5ede71d096aa85fd16033efa1716020c1b24 (patch)
tree5f676371e22ac65f3eeae3e5d4f0d922ccea241a /libs/androidfw/AttributeResolution.cpp
parent924e23a1fc913851118bee88a28ebad9d0158b9a (diff)
Use the latest temperature read as base for headroom calculation
It was unexpectedly using the oldest temperature which can be 30s old and not accurately reflect the current device's temperature The unit test used to add new temperatures to the front of ring buffer, which was inconsistent with the implementation which add to the back instead, which is now fixed Bug: 343809405 Test: atest ThermalManagerServiceTest Change-Id: I706933e7f4bbd1b9abd6591255a605d7643ad7ee
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions