android_device_xiaomi_sdm66.../biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne.rc
Jaekyun Seok 35e312e135 wayne-common: rootdir: Add 'vendor.' prefix to a vendor HAL service name
* To prevent property name collisions between properties of system and
  vendor, 'vendor.' prefix must be added to a vendor HAL service name.
  You can see the details in go/treble-sysprop-compatibility documents.

Test: succeeded building and tested on a sailfish device.
Bug: 36796459
Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
2019-07-01 14:15:04 +02:00

25 lines
905 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 vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne
class late_start
user system
group system input
service vendor.goodix_script /vendor/bin/init.goodix.sh
class late_start
user system
disabled
on property:ro.boot.fpsensor=gdx
start vendor.goodix_script