hikey960: workaround: disable graphics driver preloading am: 99662b3e45
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/2902255
Change-Id: I8ff3845a71736a2b1b3adda7e318f0f42652a8be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/hikey960.mk b/hikey960.mk
index dd7082b..e0c6371 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -56,6 +56,13 @@
ro.opengles.version=196608 \
ro.hardware.egl=mali
+## This is a workaround for the Bluetooth sanitize shadow call stack (SCS)
+## crash reported here: https://issuetracker.google.com/issues/302408537,
+## until the new version Mali binaries released.
+## For details of the root cause and the cts vts tests comparison between
+## the preloading and non-preloading builds, please check the above issue.
+PRODUCT_PROPERTY_OVERRIDES += ro.zygote.disable_gl_preload=1
+
#
# Overrides
PRODUCT_NAME := hikey960