cm: "Released" means current.
Since mainline devices will always identify as a latest release api level (due to userbase volume), make sure we check against the current api vs api -1. Change-Id: I9e9b41a1af5d3a93f58b2e0e0545b979d1cef978
This commit is contained in:
parent
850dd22e12
commit
a194731dd4
@ -26,7 +26,7 @@ ifeq (,$(filter true, $(WITHOUT_CHECK_API) $(TARGET_BUILD_PDK)))
|
|||||||
droidcore: checkapi-cm
|
droidcore: checkapi-cm
|
||||||
|
|
||||||
# Validate against previous release platform sdk version api text within prebuilts
|
# Validate against previous release platform sdk version api text within prebuilts
|
||||||
cm_last_released_sdk_version := $(shell echo ${CM_PLATFORM_SDK_VERSION}-1 | bc)
|
cm_last_released_sdk_version := $(CM_PLATFORM_SDK_VERSION)
|
||||||
|
|
||||||
.PHONY: check-cm-public-api
|
.PHONY: check-cm-public-api
|
||||||
checkapi-cm : check-cm-public-api
|
checkapi-cm : check-cm-public-api
|
||||||
|
Loading…
Reference in New Issue
Block a user