Disable ODM display overlay for Realme GT ME

Change-Id: Iba4c4d1e6e470593687285111efede3a93a8cfab
This commit is contained in:
Andy CrossGate Yan 2021-12-01 18:15:23 +00:00
parent 2fa02fbf17
commit 7f627a4fe7

View File

@ -980,3 +980,8 @@ if [ "$vndk" -le 30 ];then
# Don't override vendor value, merely add a fallback
setprop ro.surface_flinger.use_color_management false
fi
# Disable ODM display overlay for Realme GT ME, which is annoyingly hard to override
if getprop ro.boot.prjname |grep -qi 21615;then
mount -o bind /system/phh/empty /odm/overlay/android_framework_res_overlay.display.product.21615.apk
fi