summaryrefslogtreecommitdiff
path: root/device-common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'device-common.mk')
-rw-r--r--device-common.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/device-common.mk b/device-common.mk
index 4d897143..bd46cb01 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -29,9 +29,18 @@ endif
# Set vendor kernel path
PRODUCT_VENDOR_KERNEL_HEADERS := device/linaro/hikey/kernel-headers
-PRODUCT_SHIPPING_API_LEVEL := 29
-PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false
-
+# Hikey was first supported from Marshmallow 6.0, API level 23
+# PRODUCT_SHIPPING_API_LEVEL is required from Pie build by the CTS test of
+# CtsOsTestCases android.os.cts.BuildTest#testSdkInt
+# as reported here:
+# https://bugs.linaro.org/show_bug.cgi?id=4068
+# https://source.android.com/setup/start/build-numbers
+# Here we set it to 25 first, because Gatekeeper function
+# needs to be supported when set to 26 or above,
+# which we could not boot successfully with the default implementation
+# enabled yet. Will back to set it to the latest number when we have
+# all necessary features supported.
+PRODUCT_SHIPPING_API_LEVEL := 25
# Set custom settings
DEVICE_PACKAGE_OVERLAYS := device/linaro/hikey/overlay