diff options
author | Wei Wang <wvw@google.com> | 2020-05-21 09:59:56 -0700 |
---|---|---|
committer | Wei Wang <wvw@google.com> | 2020-05-21 12:58:51 -0700 |
commit | f5d7e441ce29fed56cd554011360932d0f2b0123 (patch) | |
tree | 3277a24a4a63530f3c14fcb4fad09e3334ac70bc /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b74db233137a3c3379668c581c9a7f4c2521117c (diff) |
ThermalManagerService: initialize to THROTTLING_NONE explicitly
When there is no HAL connection or HAL malfunctioning, thermal status
will stay in an invalid value, which would be returned when client
register status callback.
This CL will opportunistically assume system is in "NONE" throttling
when in above states such as no HAL connection or HAL malfunctioning.
Bug: 155772239
Test: atest ThermalManagerServiceTest
Test: atest PowerManagerTest
Test: atest thermalmanager-test
Change-Id: I9fceb5ef6f8b9a23983b7b93200f381eaf23a77b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions