Merge pull request #220 from JensBee/patch-1

Scan in /odm/etc/vintf for fingerprint sensor data
This commit is contained in:
Pierre-Hugues HUSSON 2021-01-08 13:12:49 +01:00 committed by GitHub
commit 43f0b25585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,7 @@ if grep vendor.huawei.hardware.biometrics.fingerprint /vendor/manifest.xml; then
fi fi
foundFingerprint=false foundFingerprint=false
for manifest in /vendor/manifest.xml /vendor/etc/vintf/manifest.xml;do for manifest in /vendor/manifest.xml /vendor/etc/vintf/manifest.xml /odm/etc/vintf/manifest.xml;do
if grep -q -e android.hardware.biometrics.fingerprint -e vendor.oppo.hardware.biometrics.fingerprint $manifest;then if grep -q -e android.hardware.biometrics.fingerprint -e vendor.oppo.hardware.biometrics.fingerprint $manifest;then
foundFingerprint=true foundFingerprint=true
fi fi