Pierre-Hugues Husson | d1cf8d8 | 2018-01-14 22:49:15 +0100 | [diff] [blame^] | 1 | #!/system/bin/sh |
2 | |||||
3 | set -x | ||||
4 | |||||
5 | #Do this only on devices with huawei fingerprint HAL | ||||
6 | lshal |grep -qF vendor.huawei.hardware.biometrics.fingerprint || ( while true;do sleep 3600;done; exit 0) | ||||
7 | |||||
8 | #Ask fingerprint hardware service to enable navigation | ||||
9 | CLASSPATH=/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 |