sdm660-common: Restart audio HIDL HAL after decryption
* For some reason, booting with headphones plugged in results in a broken speaker output if FDE secure boot is enabled. * Restarting audio HAL after decryption seems to resolve the issue. Change-Id: Ie14b89841bf811f0fb09edb0a04fd28aafecde87 Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
This commit is contained in:
parent
2e3a160271
commit
03b7fb7ef0
1 changed files with 2 additions and 1 deletions
|
@ -306,7 +306,7 @@ on post-fs-data
|
|||
|
||||
#Change ownership to system
|
||||
chown system system /data/vendor/tombstones
|
||||
|
||||
|
||||
mkdir /data/vendor/ramdump 0771 root system
|
||||
mkdir /data/vendor/bluetooth 0770 bluetooth bluetooth
|
||||
mkdir /data/vendor/ramdump/bluetooth 0770 bluetooth bluetooth
|
||||
|
@ -551,6 +551,7 @@ service vendor.qcom-c_main-sh /vendor/bin/init.class_main.sh
|
|||
on property:vold.decrypt=trigger_restart_framework
|
||||
start vendor.qcom-c_main-sh
|
||||
start vendor.cnss_diag
|
||||
restart vendor.audio-hal-2-0
|
||||
|
||||
on property:persist.env.fastdorm.enabled=true
|
||||
setprop persist.radio.data_no_toggle 1
|
||||
|
|
Loading…
Reference in a new issue