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:
@@ -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
|
# "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
|
# in /data. As a workaround, postpone startup until later in boot once
|
||||||
# /data is mounted.
|
# /data is mounted.
|
||||||
class late_start
|
class hal
|
||||||
user system
|
user system
|
||||||
group system input uhid
|
group system input uhid
|
||||||
writepid /dev/cpuset/system-background/tasks
|
writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
|
on post-fs-data
|
||||||
|
start vendor.fps_hal.realme_sm7125
|
||||||
|
|||||||
Reference in New Issue
Block a user