device_xiaomi_sm6250-common/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll.rc
Jake Weinstein 530479f6b4
sm6250-common: biometrics: Revert "fpc: keep fpc in system-background"
While Google found that fingerprint HAL is insensitive to
increased CPU throughput, we have not found that to be the
case. Allowing more CPUs makes fingerprint unlock up to
2x faster in some tests.

SM8250 device with fingerprint on display:
- Before: 3128ms
- After: 944ms

SDM845 device with fingerprint on the power button:
- Before: 1146ms
- After: 688ms

This reverts commit d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e.

Change-Id: I7a28d82caee2b8503b974a8226b29240eb072ceb
2021-09-09 18:46:19 +02:00

13 lines
491 B
Plaintext

service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll
class late_start
user system
group system input uhid
on post-fs-data
mkdir /data/vendor/fpc 0770 system system
chown system system /data/vendor/fpc/calibration_image.pndat
chmod 0600 /data/vendor/fpc/calibration_image.pndat
mkdir /data/vendor/goodix 0770 system system
mkdir /mnt/vendor/persist/fpc 0770 system system
chown system system /data/vendor