Skip to content

Commit

Permalink
msm8226-common: Add ANT+ support
Browse files Browse the repository at this point in the history
commit f96a54a2f5fabf3f977b9c1e397a7b96df84c5c0
Author: Steve Kondik <shade@chemlab.org>
Date:   Thu Jul 31 15:07:37 2014 -0700

    msm8974: Build ANT+ support

    Change-Id: I32303d265a7a08c9068f93c8dfc6d324d9c957f9

commit 2ed994e05b6a6591f3505d2084b004c83be99f99
Author: Michael Bestas <mikeioannina@gmail.com>
Date:   Thu Sep 4 15:23:53 2014 +0300

    msm8974-common: Add missing ANT+ library

    * Add ANT+ permission and framework library.

    Change-Id: Ia2efcc04864be8cfe408509f653bba4498e2d30b

Change-Id: I910ef05261cf6b9a80600002afbe6461c94c5cf5
  • Loading branch information
luk1337 authored and Gerrit Code Review committed Dec 9, 2015
1 parent 1221b50 commit 0a0768c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BoardConfigCommon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ BOARD_DTBTOOL_ARGS := --force-v2
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
TARGET_KERNEL_SOURCE := kernel/motorola/msm8226

# ANT+
BOARD_ANT_WIRELESS_DEVICE := "qualcomm-smd"

# Audio
AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
AUDIO_FEATURE_ENABLED_NEW_SAMPLE_RATE := true
Expand Down
7 changes: 7 additions & 0 deletions msm8226.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay

# Permissions
PRODUCT_COPY_FILES += \
external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:system/etc/permissions/com.dsi.ant.antradio_library.xml \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
Expand Down Expand Up @@ -53,6 +54,12 @@ TARGET_SCREEN_WIDTH := 720

$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)

# ANT+
PRODUCT_PACKAGES += \
AntHalService \
com.dsi.ant.antradio_library \
libantradio

# Audio
PRODUCT_PACKAGES += \
audiod \
Expand Down

0 comments on commit 0a0768c

Please sign in to comment.