thermal: add symlinks in charger am: d4e403ffe9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19041580 Change-Id: I57c708ee03b21192d8fc17e9e82c2f5d8a203dae Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
e7fee60399
1 changed files with 13 additions and 0 deletions
|
@ -54,6 +54,19 @@ on post-fs-data
|
|||
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
|
||||
chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
|
||||
|
||||
# Create thermal symlink in off charging mode
|
||||
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
|
||||
restart vendor.thermal.symlinks
|
||||
|
||||
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
|
||||
-O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1p2p_device=1 \
|
||||
-m/vendor/etc/wifi/p2p_supplicant.conf \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue