Disable ODM display overlay for OnePlus 10 Pro
To whoever wrote these at OPlus - WTF? Change-Id: Icd38941e86bf1e8ff743342507b5926708590ccf
This commit is contained in:
parent
10a42e0e8c
commit
5ae932aa76
@ -282,7 +282,6 @@ changeKeylayout() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if getprop ro.vendor.build.fingerprint | grep -iq -e motorola/liber; then
|
if getprop ro.vendor.build.fingerprint | grep -iq -e motorola/liber; then
|
||||||
|
|
||||||
cp /system/phh/empty /mnt/phh/keylayout/uinput_nav.kl
|
cp /system/phh/empty /mnt/phh/keylayout/uinput_nav.kl
|
||||||
chmod 0644 /mnt/phh/keylayout/uinput_nav.kl
|
chmod 0644 /mnt/phh/keylayout/uinput_nav.kl
|
||||||
changed=true
|
changed=true
|
||||||
@ -1007,9 +1006,9 @@ if [ "$vndk" -le 30 ];then
|
|||||||
setprop ro.surface_flinger.use_color_management false
|
setprop ro.surface_flinger.use_color_management false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable ODM display overlay for Realme GT ME, which is annoyingly hard to override
|
# Disable ODM display overlay for some OPlus devices, which is annoyingly hard to override
|
||||||
if getprop ro.boot.prjname |grep -qi 21615;then
|
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.21615.apk
|
mount -o bind /system/phh/empty /odm/overlay/android_framework_res_overlay.display.product.*.apk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(stat -c '%U' /dev/nxp_smartpa_dev)" == "root" ] &&
|
if [ "$(stat -c '%U' /dev/nxp_smartpa_dev)" == "root" ] &&
|
||||||
|
Loading…
Reference in New Issue
Block a user