android_device_motorola_bangkk/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.rc
Jake Weinstein 3ddf381e8d dubai: fingerprint: Don't keep HAL 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

Change-Id: I43d6096bd0ee8c6c30a81104858e42725689d696
2022-12-11 10:00:11 -07:00

7 lines
338 B
Text

service fps_hal.dubai /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.3-service.dubai
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.
class late_start
user system
group system input uhid