Change fingerprint manifest grep, because people are putting manifest anywhere
This commit is contained in:
parent
f85c88a1c7
commit
0048f513fd
@ -346,13 +346,12 @@ 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 /odm/etc/vintf/manifest.xml /odm/etc/vintf/manifest/manifest_oplus_fingerprint.xml;do
|
for manifest in /vendor/manifest.xml /vendor/etc/vintf /odm/etc/vintf;do
|
||||||
if grep -q \
|
if grep -q \
|
||||||
-e android.hardware.biometrics.fingerprint \
|
-e android.hardware.biometrics.fingerprint \
|
||||||
-e vendor.oppo.hardware.biometrics.fingerprint \
|
-e vendor.oppo.hardware.biometrics.fingerprint \
|
||||||
-e vendor.oplus.hardware.biometrics.fingerprint \
|
-e vendor.oplus.hardware.biometrics.fingerprint \
|
||||||
$manifest;
|
-r $manifest;then
|
||||||
then
|
|
||||||
foundFingerprint=true
|
foundFingerprint=true
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user