sdm660: biometrics: Do not remove user database
* fixes platina fingerprint lose after reboot Change-Id: I5d2a72c44350df59250b30bab0973377caa61796
This commit is contained in:
parent
f8c033af7f
commit
08f10b8e4d
1 changed files with 1 additions and 3 deletions
|
@ -1,8 +1,7 @@
|
||||||
on init
|
on boot
|
||||||
chown system system /dev/goodix_fp
|
chown system system /dev/goodix_fp
|
||||||
chmod 0644 /dev/goodix_fp
|
chmod 0644 /dev/goodix_fp
|
||||||
|
|
||||||
on boot
|
|
||||||
chown system system /sys/bus/platform/devices/soc:fpc1020/irq
|
chown system system /sys/bus/platform/devices/soc:fpc1020/irq
|
||||||
chown system system /sys/bus/platform/devices/soc:fpc1020/wakeup_enable
|
chown system system /sys/bus/platform/devices/soc:fpc1020/wakeup_enable
|
||||||
chown system system /sys/bus/platform/devices/soc:fpc1020/hw_reset
|
chown system system /sys/bus/platform/devices/soc:fpc1020/hw_reset
|
||||||
|
@ -42,7 +41,6 @@ on post-fs-data
|
||||||
mkdir /data/vendor/fpc 0770 system system
|
mkdir /data/vendor/fpc 0770 system system
|
||||||
copy /data/vendor/fpc/user.db /data/vendor_de/0/fpdata/user.db
|
copy /data/vendor/fpc/user.db /data/vendor_de/0/fpdata/user.db
|
||||||
chown system system /data/vendor_de/0/fpdata/user.db
|
chown system system /data/vendor_de/0/fpdata/user.db
|
||||||
rm /data/vendor/fpc/user.db
|
|
||||||
|
|
||||||
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660
|
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660
|
||||||
class late_start
|
class late_start
|
||||||
|
|
Loading…
Reference in a new issue