Add ability to enable extra udfps vibrations
Also, stop illuminating the HbmSurfaceView once the fingerprint fails or
errors.
Note: currently the extra vibrations on disabled by default
To enable on start udfps auth vibration:
adb shell settings put global udfps_start 1
(default disabled)
adb shell settings put udfps_start_type <EFFECT>
(default click)
To enable an acquired vibration:
adb shell settings put global udfps_acquired 1
(default disabled)
adb shell settings put global udfps_acquired_delay <DELAY_IN_MILLISECONDS>
(default 500ms)
adb shell settings put global udfps_acquired_type <EFFECT>
(default tick)
...where
DELAY_IN_MILLISECONDS > 0
EFFECT is: tick, texture_tick, heavy, or click
Test: manual
Bug: 185124905
Change-Id: I90cd52b3e02d85ddf2b2bac81cf0679bd1ee8878
5 files changed