On samsung vndk >= 28 we want to force disable fingerprint weird behaviour
This commit is contained in:
parent
0fff673bd3
commit
cbc8d1e1af
@ -350,7 +350,7 @@ if [ -n "$(getprop ro.boot.product.hardware.sku)" ] && [ -z "$(getprop ro.hw.oem
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung/' && [ "$vndk" -ge 28 ];then
|
if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung/' && [ "$vndk" -ge 28 ];then
|
||||||
setprop persist.sys.phh.samsung_fingerprint -1
|
setprop persist.sys.phh.samsung_fingerprint 0
|
||||||
#obviously broken perms
|
#obviously broken perms
|
||||||
if [ "$(stat -c '%A' /sys/class/sec/tsp/ear_detect_enable)" == "-rw-rw-r--" ] &&
|
if [ "$(stat -c '%A' /sys/class/sec/tsp/ear_detect_enable)" == "-rw-rw-r--" ] &&
|
||||||
[ "$(stat -c '%U' /sys/class/sec/tsp/ear_detect_enable)" == "root" ] &&
|
[ "$(stat -c '%U' /sys/class/sec/tsp/ear_detect_enable)" == "root" ] &&
|
||||||
|
Loading…
Reference in New Issue
Block a user