summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-08-17 14:14:11 -0700
committerAdnan Begovic <adnan@cyngn.com>2016-08-17 14:15:14 -0700
commita194731dd4435cf820a03ff9fb2232c958ef3a9a (patch)
tree7f8cc6a6db789571fe2487e6003664db78f029ed
parent850dd22e1234da326790bbeb07be81d806e2498f (diff)
downloadvendor_replicant-a194731dd4435cf820a03ff9fb2232c958ef3a9a.zip
vendor_replicant-a194731dd4435cf820a03ff9fb2232c958ef3a9a.tar.gz
vendor_replicant-a194731dd4435cf820a03ff9fb2232c958ef3a9a.tar.bz2
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
-rw-r--r--build/tasks/apicheck.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tasks/apicheck.mk b/build/tasks/apicheck.mk
index 4bb60c2..7fa1cc4 100644
--- a/build/tasks/apicheck.mk
+++ b/build/tasks/apicheck.mk
@@ -26,7 +26,7 @@ ifeq (,$(filter true, $(WITHOUT_CHECK_API) $(TARGET_BUILD_PDK)))
droidcore: checkapi-cm
# 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
checkapi-cm : check-cm-public-api