Merge pull request #283 from AndyCGYan/fix-rmgtme-overlay

Disable ODM display overlay for Realme GT ME
This commit is contained in:
Pierre-Hugues HUSSON 2021-12-01 19:22:00 +01:00 committed by GitHub
commit 06a00ae37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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