RMX1831: Fixed FP cleanup in phh GSI.

This commit is contained in:
Lokesh Vazirani 2020-12-29 15:14:20 +05:30 committed by GitHub
parent 09e6efa628
commit 36e03ddbae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -347,6 +347,11 @@ if getprop ro.vendor.build.fingerprint | grep -qE '^xiaomi/wayne/wayne.*'; then
setprop audio.camerasound.force true setprop audio.camerasound.force true
fi fi
if getprop persist.sys.phh.fingerprint.nocleanup | grep -qE '^realme/RMX1831/RMX1831.*'; then
# Fix fingerprint cleanup after reboot in RMX1831 aka realme U1
setprop.sys.phh.fingerprint.nocleanup true
fi
mount -o bind /mnt/phh/empty_dir /vendor/etc/audio || true mount -o bind /mnt/phh/empty_dir /vendor/etc/audio || true
for f in /vendor/lib{,64}/hw/com.qti.chi.override.so;do for f in /vendor/lib{,64}/hw/com.qti.chi.override.so;do