Enable old hwui path for msm8917/37/40

This commit is contained in:
Pierre-Hugues Husson 2018-12-03 22:40:34 +01:00
parent dd40ddcf1c
commit 14d7c12a97

View File

@ -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