Enable old hwui path for msm8917/37/40
This commit is contained in:
parent
dd40ddcf1c
commit
14d7c12a97
@ -171,7 +171,10 @@ done
|
||||
mount -o bind /system/phh/empty /vendor/overlay/SysuiDarkTheme/SysuiDarkTheme.apk || true
|
||||
mount -o bind /system/phh/empty /vendor/overlay/SysuiDarkTheme/SysuiDarkThemeOverlay.apk || true
|
||||
|
||||
if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so || grep -qF 'PowerVR Rogue' /vendor/lib/egl/libGLESv1_CM_mtk.so;then
|
||||
if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so || \
|
||||
grep -qF 'PowerVR Rogue' /vendor/lib/egl/libGLESv1_CM_mtk.so || \
|
||||
(getprop ro.product.board | grep -qE -e msm8917 -e msm8937 -e msm8940);then
|
||||
|
||||
setprop debug.hwui.renderer opengl
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user