From df5fa53c5d849b1057e87936a8c793f4d927045d Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Fri, 12 May 2023 15:06:57 -0700 Subject: [PATCH] thermal: enable sendCallback for VSKIN-SPEAKER Bug: 282062889 Test: adb shell dumpsys android.hardware.thermal.IThermal/default emul_temp VIRTUAL-SKIN-SPEAKER 37001 Change-Id: Ib2b180b49223da178f1fb6f7e694a17166187829 --- thermal/thermal_info_config_husky.json | 5 ++++- thermal/thermal_info_config_shiba.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/thermal/thermal_info_config_husky.json b/thermal/thermal_info_config_husky.json index 64f02cd..2b33b94 100644 --- a/thermal/thermal_info_config_husky.json +++ b/thermal/thermal_info_config_husky.json @@ -351,7 +351,10 @@ "Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"], "Coefficient":[0.09, 0.01, 0, 0.18, 0.2, 0.21, 0, 0.35, 0.03], "Offset":-4990, - "Multiplier":0.001 + "HotThreshold":["NAN", 37.0, "NAN", "NAN", "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 1.9, 0.0, 0.0, 0.0, 0.0, 0.0], + "Multiplier":0.001, + "SendCallback":true }, { "Name":"VIRTUAL-SKIN", diff --git a/thermal/thermal_info_config_shiba.json b/thermal/thermal_info_config_shiba.json index 418208b..b4c7b2f 100644 --- a/thermal/thermal_info_config_shiba.json +++ b/thermal/thermal_info_config_shiba.json @@ -330,7 +330,10 @@ "Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"], "Coefficient":[0.06, 0, 0.31, 0.08, 0.29, 0.1, 0, 0.16, 0], "Offset":-1970, - "Multiplier":0.001 + "HotThreshold":["NAN", 37.0, "NAN", "NAN", "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 1.9, 0.0, 0.0, 0.0, 0.0, 0.0], + "Multiplier":0.001, + "SendCallback":true }, { "Name":"VIRTUAL-SKIN",