Also check pie manifest

This commit is contained in:
Pierre-Hugues Husson 2019-03-02 15:38:45 +01:00
parent 4cec494b21
commit 1cf540004d
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ if grep vendor.huawei.hardware.biometrics.fingerprint /vendor/manifest.xml;then
mount -o bind system/phh/huawei/fingerprint.kl /vendor/usr/keylayout/fingerprint.kl
fi
if ! grep android.hardware.biometrics.fingerprint /vendor/manifest.xml;then
if ! grep android.hardware.biometrics.fingerprint /vendor/manifest.xml && ! grep android.hardware.biometrics.fingerprint /vendor/etc/vintf/manifest.xml;then
mount -o bind system/phh/empty /system/etc/permissions/android.hardware.fingerprint.xml
fi