Merge "thermal: remove QC thermal-engine" into rvc-d1-dev
Change-Id: I4a324837709416e2aae37aada34003cd0c85ce80 Change-Id: I95c787cf43262085045d6b5e5c4c77bbf2da8010 Change-Id: Id866c4120390dcb00e0848775512531b4579367b Change-Id: I548c25ce7cbbb703e9f3d613329830521521d277
This commit is contained in:
commit
7ac4117b8e
|
@ -149,8 +149,7 @@ PRODUCT_COPY_FILES += \
|
|||
|
||||
# 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) \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue