android_vendor_hardware_ove.../Huawei/Fingerprint/hw-fpnav
2018-01-14 22:54:37 +01:00

16 lines
386 B
Bash

#!/system/bin/sh
set -x
#Do this only on devices with huawei fingerprint HAL
lshal |grep -qF vendor.huawei.hardware.biometrics.fingerprint || ( while true;do sleep 3600;done; exit 0)
#Ask fingerprint hardware service to enable navigation
CLASSPATH=/system/phh/hw-fpnav.dex \
/system/bin/app_process \
/data/local/tmp/ \
Test
#Start input redirector
/system/bin/hw-fpnav-daemon