blob: b4e70c62e6d03f670d031ec67ebb8387e4f69bd2 [file] [log] [blame]
Pierre-Hugues Hussond1cf8d82018-01-14 22:49:15 +01001#!/system/bin/sh
2
3set -x
4
5#Do this only on devices with huawei fingerprint HAL
6lshal |grep -qF vendor.huawei.hardware.biometrics.fingerprint || ( while true;do sleep 3600;done; exit 0)
7
8#Ask fingerprint hardware service to enable navigation
9CLASSPATH=/system/phh/hw-fpnav.dex \
10 /system/bin/app_process \
11 /data/local/tmp/ \
12 Test
13
14#Start input redirector
15/system/bin/hw-fpnav-daemon