Differentiate QC values for HI6250 and HI36x0 platform (#18)
The previous set values are not compatible over HI6250 platform.
They were causing thermal issues.
This differentiation is needed to avoid the "hot-pan" occurrence.
Tested on ANE-LX1.
diff --git a/vndk-detect b/vndk-detect
index 4043306..5fbd92f 100644
--- a/vndk-detect
+++ b/vndk-detect
@@ -28,3 +28,11 @@
FOUND_QCOM=1
setprop persist.sys.overlay.devinputjack true
fi
+
+if ( getprop ro.hardware | grep -qE '(hi6250)' );then
+ setprop QC.HI6250 1
+fi
+
+if ( getprop ro.hardware | grep -qE '(hi3660|hi3670|kirin970)' );then
+ setprop QC.HI36x0 1
+fi