Work around PixelPropsUtils framework spoof conflict where supported

This commit is contained in:
Chris Renshaw
2024-08-18 19:03:51 -03:00
committed by GitHub
parent 33f4fa2ce0
commit 3d55dc59c1

View File

@@ -65,3 +65,8 @@ if [ -n "$(resetprop ro.aospa.version)" ]; then
resetprop | grep -q "\[$PROP\]" || resetprop -n -p "$PROP" ""
done
fi
# Work around supported custom ROM PixelPropsUtils conflict when spoofProvider is disabled
if [ -n "$(resetprop persist.sys.pixelprops.pi)" ]; then
resetprop -n -p persist.sys.pixelprops.pi false
fi