Commit 07a918b9 authored by SnowCatPDA's avatar SnowCatPDA
Browse files

FIX Android version detect

parent 9c9929d6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
TARGET_BOARD_PLATFORM := mt6735m

# Enable non DEODEX build
#WITH_DEXPREOPT := true

# Include an expanded selection of fonts
#EXTENDED_FONT_FOOTPRINT := true

# Use the non-open-source part, if present
-include vendor/DOOGEE/X5PRO/BoardConfigVendor.mk

+2 −2
Original line number Diff line number Diff line
@@ -36,13 +36,13 @@ ifeq ($(TARGET_BUILD_VARIANT), eng)
KERNEL_DEBUG := _debug
endif

KERNEL_DEFCONFIG ?= X5PRO_6735m$(KERNEL_DEBUG)_defconfig

ifeq (5x, $(THIS_ANDROID_VERSION))
LINUX_KERNEL_VERSION = kernel-3.10
KERNEL_DEFCONFIG ?= X5PRO_6735m$(KERNEL_DEBUG)_defconfig
endif
ifeq (6x, $(THIS_ANDROID_VERSION))
LINUX_KERNEL_VERSION = kernel-3.18
KERNEL_DEFCONFIG ?= X5PRO_6735m$(KERNEL_DEBUG)_defconfig
endif

# overlay has priorities. high <-> low.
+12 −5
Original line number Diff line number Diff line
@@ -16,16 +16,23 @@ PRODUCT_PACKAGES += PrebuiltGmail \
                    Newsstand \
                    YouTube

#PRODUCT_PACKAGES += 

#                    WebViewGoogle \
#                    GoogleEarth \

$(call inherit-product-if-exists, vendor/google/build/opengapps-packages.mk)


REMOVE_APP = QuickSearchBox \
REMOVE_APP = \
	QuickSearchBox \
	PicoTts \
	DeskClock \
	Browser
	Browser \
	LatinIME \
	Email \
	Calendar \
	DeskClock

#        webview \

# NOT TESTED YET
PRODUCT_PACKAGES := $(filter-out $(REMOVE_APP),$(PRODUCT_PACKAGES))