Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 820162b6083b258bc88b6c71487743bf7409a234 Mon Sep 17 00:00:00 2001
- From: luca020400 <[email protected]>
- Date: Tue, 5 May 2015 11:39:07 +0200
- Subject: [PATCH 1/1] msm8226-common:add ATN+ support
- Change-Id: I903b678d44457b8051210fd39ac838bd05b1faf6
- ---
- BoardConfigCommon.mk | 3 +++
- msm8226.mk | 7 +++++++
- 2 files changed, 10 insertions(+)
- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
- index 3c07033..ce073b1 100644
- --- a/BoardConfigCommon.mk
- +++ b/BoardConfigCommon.mk
- @@ -46,6 +46,9 @@ BOARD_KERNEL_SEPARATED_DT := true
- 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_FM := true
- AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
- diff --git a/msm8226.mk b/msm8226.mk
- index ef5ef56..008f49d 100644
- --- a/msm8226.mk
- +++ b/msm8226.mk
- @@ -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 \
- @@ -59,6 +60,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 \
- --
- 2.3.7
Advertisement
Add Comment
Please, Sign In to add comment