aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk3
-rwxr-xr-xmsm8996.mk7
2 files changed, 10 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 104d178..1e02af3 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -63,6 +63,9 @@ BOARD_VNDK_VERSION := current
PRODUCT_FULL_TREBLE_OVERRIDE := true
TARGET_VENDOR_PROP += $(VENDOR_PATH)/vendor.prop
+# ANT+
+BOARD_ANT_WIRELESS_DEVICE := "qualcomm-uart"
+
# Audio
AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true
AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true
diff --git a/msm8996.mk b/msm8996.mk
index 4ca7ca0..72327f1 100755
--- a/msm8996.mk
+++ b/msm8996.mk
@@ -44,6 +44,7 @@ TARGET_SCREEN_WIDTH := 1080
# Permissions
PRODUCT_COPY_FILES += \
+ external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.dsi.ant.antradio_library.xml \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
@@ -85,6 +86,12 @@ PRODUCT_CHARACTERISTICS := nosdcard
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
+# ANT+
+PRODUCT_PACKAGES += \
+ AntHalService \
+ com.dsi.ant.antradio_library \
+ libantradio
+
# Audio
PRODUCT_PACKAGES += \
android.hardware.audio@2.0-impl \