Commit 992805eb authored by SnowCatPDA's avatar SnowCatPDA
Browse files

FIX android sub version support

parent 07a918b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)

ifeq (5.1, $(PLATFORM_VERSION))
ifneq (, $(filter 5.%, $(PLATFORM_VERSION)))
THIS_ANDROID_VERSION :=5x
endif
ifeq (6.0, $(PLATFORM_VERSION))
ifneq (, $(filter 6.%, $(PLATFORM_VERSION)))
THIS_ANDROID_VERSION :=6x
endif