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 |
Pierre-Hugues Husson | e7df1af | 2018-05-01 20:45:25 +0200 | [diff] [blame^] | 6 | grep -qF vendor.huawei.hardware.biometrics.fingerprint /vendor/manifest.xml || exit 0 |
Pierre-Hugues Husson | d1cf8d8 | 2018-01-14 22:49:15 +0100 | [diff] [blame] | 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 |