From 7ac59e36d968b3c91b8170833d72cc69f9ad77e3 Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Tue, 26 Mar 2024 17:14:21 +0800 Subject: [PATCH] thermal: Hide USB-MINUS-CHARGER Hide the subsensor USB-MINUS-CHARGER. Bug: 303547449 Test: Local build, verify no thermal error logs and lshal. Change-Id: Ia3b09b6c33191fde861c3861d5d159be285a200a --- thermal/thermal_info_config_charge_comet.json | 1 + thermal/thermal_info_config_comet.json | 1 + 2 files changed, 2 insertions(+) diff --git a/thermal/thermal_info_config_charge_comet.json b/thermal/thermal_info_config_charge_comet.json index d248325..e8b7e55 100644 --- a/thermal/thermal_info_config_charge_comet.json +++ b/thermal/thermal_info_config_charge_comet.json @@ -279,6 +279,7 @@ "Name": "USB-MINUS-CHARGER", "Type": "UNKNOWN", "VirtualSensor": true, + "Hidden": true, "TriggerSensor": "usb_conn_therm", "Formula": "WEIGHTED_AVG", "Combination": ["usb_conn_therm", "charger_therm"], diff --git a/thermal/thermal_info_config_comet.json b/thermal/thermal_info_config_comet.json index 8b33b72..ff25339 100644 --- a/thermal/thermal_info_config_comet.json +++ b/thermal/thermal_info_config_comet.json @@ -849,6 +849,7 @@ "Name": "USB-MINUS-CHARGER", "Type": "UNKNOWN", "VirtualSensor": true, + "Hidden": true, "TriggerSensor": "usb_conn_therm", "Formula": "WEIGHTED_AVG", "Combination": ["usb_conn_therm", "charger_therm"],