summaryrefslogtreecommitdiff
path: root/bootctrl/BootControlShared.cpp
diff options
context:
space:
mode:
authorTeYuan Wang <kamewang@google.com>2022-12-23 17:27:24 +0800
committerKame(TeYuan) Wang <kamewang@google.com>2022-12-23 11:07:48 +0000
commit755820efc09f8711065ff9afa9d97b4741fe80e1 (patch)
treec24e0736ab60662d75fcb3cf3a771a1db50b91c4 /bootctrl/BootControlShared.cpp
parentdacdb1fb86d7c99abe125184646f04a05b4a7ff4 (diff)
thermal: add sensor_status_check when reading the temperature
sensor_status_map will not be initilized when the vendor.disable.thermal.control debug property is enabled, so add a check to prevent crashing if someone access sensor_status_map. Bug: 254163925 Test: swithc vendor.disable.thermal.control and check no thermalHAL crash Change-Id: I6014ccdb974c1620a41df8ae32c612ff861514ca
Diffstat (limited to 'bootctrl/BootControlShared.cpp')
0 files changed, 0 insertions, 0 deletions