fingerprint: Enable SW42 version

Bug: 232500959
Test: make android.hardware.biometrics.fingerprint-service.fpc42
Test: make fingerprint.fpc
Test: Enroll/verify on device

Change-Id: I8c514f5c0fb0d7d81fe5fc6fc43d756a6616cf81
This commit is contained in:
eddielan 2022-06-22 14:10:54 +08:00
parent c2afe0fbf0
commit 47c47c4056
2 changed files with 11 additions and 10 deletions

View file

@ -5,6 +5,8 @@ on init
# NFC streset tool name
setprop persist.vendor.nfc.streset libstreset21
setprop persist.vendor.se.streset libstreset21
# Load FPC's internal lib
setprop ro.hardware.fingerprint "fpc"
# When ro.build.flavor=factory_tangorpro-userdebug, add vendor/bin/factory to default path
on init && property:ro.build.flavor=factory_tangorpro-userdebug
@ -58,8 +60,12 @@ on property:vendor.all.modules.ready=1 && property:persist.sys.tap_gesture=0
# Fingerprint
on post-fs-data
chown system system /dev/goodix_fp
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
# Fingerprint
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/clk_enable
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/hw_reset
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/irq
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/wakeup_enable
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/1540.app
# Wifi
on post-fs-data