aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-07-10 04:54:03 -0700
committerLinux Build Service Account <lnxbuild@localhost>2018-07-10 04:54:03 -0700
commitcd87191848dd8b7b54e6f1948667ece731446a2a (patch)
treee0e55c27b2f23a24926ae8e24b28d97e5b225e0d
parentb616838fc8c89085742a542d528e2fd55d679ef9 (diff)
parente23ee25163bf7b3f7f2ecab3a89f5a48ff87e171 (diff)
downloadandroid_external_ant-wireless_ant_service-lineage-16.0.tar.gz
android_external_ant-wireless_ant_service-lineage-16.0.tar.bz2
android_external_ant-wireless_ant_service-lineage-16.0.zip
Merge e23ee25163bf7b3f7f2ecab3a89f5a48ff87e171 on remote branchlineage-16.0
Change-Id: I7c8d3eb77fb456462a7257405ac677efbd53aaaf
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 2169f06..092ffb7 100644
--- a/Android.mk
+++ b/Android.mk
@@ -34,7 +34,9 @@ LOCAL_PROGUARD_FLAG_FILES := proguard.flags
LOCAL_CERTIFICATE := platform
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := AntHalService
-
+ifeq ($(filter 8% O% o%,$(TARGET_PLATFORM_VERSION)),)
+LOCAL_SDK_VERSION := system_current
+endif
include $(BUILD_PACKAGE)
endif # BOARD_ANT_WIRELESS_DEVICE defined