sm7125-common: fingerprint: preload HAL early for first-boot SetupWizard

Add an  trigger to start the fingerprint HAL immediately
after /data is mounted. Keeps  to avoid race
conditions, but ensures the HAL is available early enough for
first-boot SetupWizard enrollment.

This fixes the issue where fingerprint setup fails during initial
device setup but works after skipping and opening Settings.

Signed-off-by: aminfauzi <aremean0107@gmail.com>
This commit is contained in:
aminfauzi
2025-11-12 13:56:43 +08:00
committed by theshaenix
parent e86c2261b6
commit d1362347cd

View File

@@ -2,7 +2,10 @@ service vendor.fps_hal.realme_sm7125 /vendor/bin/hw/android.hardware.biometrics.
# "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
class hal
user system
group system input uhid
writepid /dev/cpuset/system-background/tasks
on post-fs-data
start vendor.fps_hal.realme_sm7125