From 9aebc863ded2d17e6b68d20101e3214ece36666e Mon Sep 17 00:00:00 2001 From: UnparallelSKY <55931612+UnparallelSKY@users.noreply.github.com> Date: Mon, 14 Oct 2019 19:00:25 +0200 Subject: [PATCH] clover: Define first api level in the device tree instead in the common tree All sdm660 xiaomi device didn't launched with oreo-mr1 and it will be easer for add other device (jason, lavender, nitrogen, platina, tulip and whyred) who didn't launched with oreo-mr1 in xiaomi-sdm660 org --- lineage_clover.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lineage_clover.mk b/lineage_clover.mk index ce09362..6234467 100644 --- a/lineage_clover.mk +++ b/lineage_clover.mk @@ -27,6 +27,9 @@ $(call inherit-product, device/xiaomi/clover/device.mk) # Inherit some common Lineage stuff. $(call inherit-product, vendor/lineage/config/common_full_phone.mk) +# Define first api level +$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk) + DEVICE_PATH := device/xiaomi/clover # Device identifier