sdm660-common: fix fp wakeup issue

* temporary fix for wake-up issue on GDX sensor
* disabled vendor.fps_hal after finishing boot(still usable since it was started already on boot-up, fingerprint option still available on Settings > Security > Figerprint)
* also guarded it for GDX sensor only so it won't stop for devices with FPC sensor

Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
wHo-EM-i 2022-08-09 08:36:04 +05:30 committed by pix106
parent 467daca424
commit d2d165c870

View file

@ -563,3 +563,8 @@ on property:sys.boot_completed=1
# MIUI camera flag
on property:sys.camera.miui.apk=*
setprop vendor.camera.miui.apk ${sys.camera.miui.apk}
on property:sys.boot_completed=1 && property:ro.boot.fpsensor=gdx
# stop fps_hal
stop vendor.fps_hal