summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chao <davidchao@google.com>2022-07-27 18:05:12 +0800
committerWei Wang <wvw@google.com>2022-08-22 16:06:29 +0000
commit8288a9b273846c7dd970bb613149b9efe7fb9958 (patch)
treedfc1881e30ebd938a1b3500c57b6b3ef66bd29ca
parent111e776045ec7631bbb458ec41e4f22319a0ca56 (diff)
thermal: move charger thermal HAL into project folder
Move charger pixel-thermal-symlink from common to project folder to prevent the GKI version dependencies from blocking init. Bug: 240897207 Test: thermal_symlinks worked properly in charging mode Change-Id: Id8dbdb20cd730c904ce636210a3b6cf0785ab826
-rw-r--r--thermal/pixel-thermal-symlinks.rc12
1 files changed, 0 insertions, 12 deletions
diff --git a/thermal/pixel-thermal-symlinks.rc b/thermal/pixel-thermal-symlinks.rc
index 9404331..c42d7db 100644
--- a/thermal/pixel-thermal-symlinks.rc
+++ b/thermal/pixel-thermal-symlinks.rc
@@ -4,18 +4,6 @@ on boot
mkdir /dev/thermal/cdev-by-name 0750 system system
start vendor.thermal.symlinks
-on charger
- # Wait for insmod_sh to finish all common modules
- wait_for_prop vendor.common.modules.ready 1
-
- # Wait for insmod_sh to finish all device specific modules
- wait_for_prop vendor.device.modules.ready 1
-
- mkdir /dev/thermal 0750 system system
- mkdir /dev/thermal/tz-by-name 0750 system system
- mkdir /dev/thermal/cdev-by-name 0750 system system
- start vendor.thermal.symlinks
-
service vendor.thermal.symlinks /vendor/bin/thermal_symlinks
class hal
user system