Disable ASP only on PROTO1.0 devices

Bug: 188193525
Test: ASP is disabled on PROTO1.0.
Test: ASP is enabled on PROTO1.1 and newer.
Change-Id: Ib01547cdf27431f3c475cff3830f077b044fcea5
This commit is contained in:
Kris Chen 2021-05-13 19:46:02 +08:00 committed by Vineeta Srivastava
parent 572019b626
commit 665398800b

View file

@ -8,8 +8,9 @@ on early-boot
wait_for_prop vendor.common.modules.ready 1
start insmod_sh_raviole
# Disables fingerprint antispoof by default
# Disables fingerprint antispoof on PROTO1.0 devices
on boot && property:ro.build.type=userdebug && \
property:ro.revision=PROTO1.0 && \
property:persist.vendor.fingerprint.disable.fake.override=none
setprop vendor.fingerprint.disable.fake 100