From 92b36d168f7e36d64a3e6ee6a56099c7eae81483 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 17 Apr 2022 10:57:48 +0000 Subject: [PATCH] Revert "Disable ODM display overlay for OnePlus 10 Pro & Realme GT ME" Change-Id: I53d804422ca853cff03958d398ada522ee388ce7 --- rw-system.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rw-system.sh b/rw-system.sh index 622f5b2..2ac3585 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -1016,11 +1016,6 @@ if [ "$vndk" -le 30 ];then setprop ro.surface_flinger.use_color_management false fi -# Disable ODM display overlay for some OPlus devices, which is annoyingly hard to override -if getprop ro.boot.prjname |grep -qi -e 20846 -e 20847 -e 2084A -e 21615;then - mount -o bind /system/phh/empty /odm/overlay/android_framework_res_overlay.display.product.*.apk -fi - if [ "$(stat -c '%U' /dev/nxp_smartpa_dev)" == "root" ] && [ "$(stat -c '%G' /dev/nxp_smartpa_dev)" == "root" ];then chown root:audio /dev/nxp_smartpa_dev