android_device_xiaomi_sdm66.../biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne.rc
TheScarastic 80a669c55a wayne: sepolicy: Add sepolicy for goodix script
Change-Id: Ic8b7dba6a5660c17f5db1c743e5d22f31ae1b1b3
2018-07-31 00:00:10 +00:00

22 lines
825 B
Text

on boot
# Fingerprint
chown system system /dev/goodix_fp
chmod 0644 /dev/goodix_fp
chown system system /sys/devices/soc/soc:fpc1020/fingerdown_wait
chmod 0220 /sys/devices/soc/soc:fpc1020/fingerdown_wait
chown system system /sys/devices/soc/soc:fpc1020/irq
chmod 0660 /sys/devices/soc/soc:fpc1020/irq
chown system system /sys/devices/soc/soc:fpc1020/hw_reset
chmod 0660 /sys/devices/soc/soc:fpc1020/hw_reset
chown system system /sys/devices/soc/soc:fpc1020/wakeup_enable
chmod 0660 /sys/devices/soc/soc:fpc1020/wakeup_enable
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne
class late_start
user system
group system input
service goodix_script /vendor/bin/init.goodix.sh
class late_start
user system
oneshot