gts3l: fingerprint: Fix fingerprint permissions

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I23740e830bd28d28863389675b115aae063d307e
This commit is contained in:
Deokgyu Yang 2021-06-16 00:22:10 +09:00
parent 6f74c0872f
commit 00996dd5b5

View file

@ -212,6 +212,14 @@ on boot
chown system radio /sys/class/fingerprint/fingerprint/vendor
chown system radio /sys/class/fingerprint/fingerprint/adm
chown system radio /sys/class/fingerprint/fingerprint/bfs_values
chown system radio /sys/class/fingerprint/fingerprint/intcnt
chown system radio /sys/class/fingerprint/fingerprint/resetcnt
# Create directories for Fingerprint
mkdir /data/vendor/misc/qti_fp 0770 system system
mkdir /data/vendor/misc/qti_fp/bg_estimation 0770 system system
mkdir /data/vendor/misc/qti_fp/calib_test 0770 system system
mkdir /data/vendor/misc/qti_fp/database 0770 system system
# msm specific files that need to be created on /data
on post-fs-data