luca020400

ant

May 5th, 2015
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.89 KB | None | 0 0
  1. From 820162b6083b258bc88b6c71487743bf7409a234 Mon Sep 17 00:00:00 2001
  2. From: luca020400 <[email protected]>
  3. Date: Tue, 5 May 2015 11:39:07 +0200
  4. Subject: [PATCH 1/1] msm8226-common:add ATN+ support
  5.  
  6. Change-Id: I903b678d44457b8051210fd39ac838bd05b1faf6
  7. ---
  8. BoardConfigCommon.mk | 3 +++
  9.  msm8226.mk           | 7 +++++++
  10.  2 files changed, 10 insertions(+)
  11.  
  12. diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
  13. index 3c07033..ce073b1 100644
  14. --- a/BoardConfigCommon.mk
  15. +++ b/BoardConfigCommon.mk
  16. @@ -46,6 +46,9 @@ BOARD_KERNEL_SEPARATED_DT := true
  17.  BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
  18.  TARGET_KERNEL_SOURCE := kernel/motorola/msm8226
  19.  
  20. +#ANT+
  21. +BOARD_ANT_WIRELESS_DEVICE := "qualcomm-smd"
  22. +
  23.  # Audio
  24.  AUDIO_FEATURE_ENABLED_FM := true
  25.  AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
  26. diff --git a/msm8226.mk b/msm8226.mk
  27. index ef5ef56..008f49d 100644
  28. --- a/msm8226.mk
  29. +++ b/msm8226.mk
  30. @@ -23,6 +23,7 @@ DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
  31.  
  32.  # Permissions
  33.  PRODUCT_COPY_FILES += \
  34. +    external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:system/etc/permissions/com.dsi.ant.antradio_library.xml \
  35.      frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
  36.      frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
  37.      frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
  38. @@ -59,6 +60,12 @@ TARGET_SCREEN_WIDTH := 720
  39.  
  40.  $(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)
  41.  
  42. +# ANT+
  43. +PRODUCT_PACKAGES += \
  44. +    AntHalService \
  45. +    com.dsi.ant.antradio_library \
  46. +    libantradio
  47. +
  48.  # Audio
  49.  PRODUCT_PACKAGES += \
  50.      audiod \
  51. --
  52. 2.3.7
Advertisement
Add Comment
Please, Sign In to add comment