Force GPU profiling on Huawei as a work-around for rendering artifacts
diff --git a/vndk-detect b/vndk-detect
index a80c18d..563af53 100644
--- a/vndk-detect
+++ b/vndk-detect
@@ -10,7 +10,7 @@
 done
 
 mount -o bind /system/bin/adbd /sbin/adbd
-if ( getprop ro.hardware | grep -q kirin970 ) || ( getprop ro.hardware | grep -q hi6250 );then
+if ( getprop ro.hardware | grep -qE '(kirin970|hi3660|hi6250|hi3670)' );then
 	FOUND_HUAWEI=1
 	setprop persist.sys.bt_acl_bypass true
 fi
@@ -20,6 +20,10 @@
 	setprop persist.sys.overlay.huawei.backlight true
 fi
 
+if [ -n "$FOUND_HUAWEI" ];then
+	setprop debug.hwui.profile true
+fi
+
 if getprop ro.hardware |grep -qiE qcom;then
 	FOUND_QCOM=1
 	setprop persist.sys.overlay.devinputjack true