We need to restart samsung hal when doing chown
This commit is contained in:
parent
edaab46a82
commit
ef0936947e
@ -364,9 +364,13 @@ if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung/' && [ "$vndk" -ge
|
||||
chown system /sys/class/power_supply/battery/wc_tx_en
|
||||
chcon u:object_r:sysfs_app_writable:s0 /sys/class/power_supply/battery/wc_tx_en
|
||||
|
||||
chown system:system /sys/class/sec/tsp/input/enabled
|
||||
fi
|
||||
|
||||
if [ "$(stat -c '%U' /sys/class/sec/tsp/input/enabled)" == "root" ] &&
|
||||
[ "$(stat -c '%G' /sys/class/sec/tsp/input/enabled)" == "root" ];then
|
||||
chown system:system /sys/class/sec/tsp/input/enabled
|
||||
setprop ctl.restart sec-miscpower-1-0
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f /system/phh/secure ];then
|
||||
|
Loading…
Reference in New Issue
Block a user