thermal: remove QC thermal-engine
Remove QC thermal-engine because we migrate thermal throttling to thermal core driver
Bug: 119196930
Test: confirm thermal-engine related files are removed
Change-Id: Ibb218e696f4bfdc6f709698a2cf7cb11f05073d6
Signed-off-by: TeYuan Wang <kamewang@google.com>
diff --git a/device-redfin.mk b/device-redfin.mk
index 9332b86..5a9a765 100644
--- a/device-redfin.mk
+++ b/device-redfin.mk
@@ -149,8 +149,7 @@
# Recovery
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/init.recovery.device.rc:recovery/root/init.recovery.redfin.rc \
- $(LOCAL_PATH)/thermal-engine-$(PRODUCT_HARDWARE).conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-$(PRODUCT_HARDWARE).conf
+ $(LOCAL_PATH)/init.recovery.device.rc:recovery/root/init.recovery.redfin.rc
PRODUCT_PACKAGES += \
sensors.$(PRODUCT_HARDWARE) \
diff --git a/init.hardware.chamber.rc.userdebug b/init.hardware.chamber.rc.userdebug
index ba76a59..8eb4fb1 100644
--- a/init.hardware.chamber.rc.userdebug
+++ b/init.hardware.chamber.rc.userdebug
@@ -14,12 +14,6 @@
# limitations under the License.
#
-on property:init.svc.vendor.thermal-engine=running && property:persist.vendor.disable.thermal.control=1
- stop vendor.thermal-engine
-
-on property:init.svc.vendor.thermal-engine=stopped && property:persist.vendor.disable.thermal.control=0
- start vendor.thermal-engine
-
on property:persist.vendor.disable.thermal.control=1
write /sys/devices/virtual/thermal/tz-by-name/skin-therm-adc/mode disabled
write /sys/devices/virtual/thermal/tz-by-name/skin-therm-monitor/mode disabled