From 3d55dc59c1a0e8ed6f877888f0bbd789f78b3db9 Mon Sep 17 00:00:00 2001 From: Chris Renshaw Date: Sun, 18 Aug 2024 19:03:51 -0300 Subject: [PATCH] Work around PixelPropsUtils framework spoof conflict where supported --- module/common_setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/common_setup.sh b/module/common_setup.sh index f430c5f..c2ebf79 100644 --- a/module/common_setup.sh +++ b/module/common_setup.sh @@ -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