From dbbc67f3e1448b5a0587755d71afaa77eecea103 Mon Sep 17 00:00:00 2001 From: SahilSonar Date: Fri, 28 Apr 2023 13:15:33 +0200 Subject: [PATCH] emerald: Set the shipping API to 30 - This is not the actual shipping API, stock uses API 29. Older trees sets it to 30, which switches some vold flags. We dont want to wipe userdata on an OTA. --- device.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/device.mk b/device.mk index 8897dea..274217c 100644 --- a/device.mk +++ b/device.mk @@ -7,6 +7,9 @@ # Inherit from mt6765-common $(call inherit-product, device/teracube/mt6765-common/mt6765.mk) +# Shipping API Level +PRODUCT_SHIPPING_API_LEVEL := 30 + # A/B $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk) AB_OTA_POSTINSTALL_CONFIG += \ @@ -57,4 +60,4 @@ PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) # Inherit from vendor blobs -$(call inherit-product, vendor/teracube/emerald/emerald-vendor.mk) \ No newline at end of file +$(call inherit-product, vendor/teracube/emerald/emerald-vendor.mk) -- GitLab