OSDN Git Service

Add audio.a2dp.default to generic system image
authorSzuWei Lin <szuweilin@google.com>
Mon, 19 Jun 2017 09:21:47 +0000 (17:21 +0800)
committerLogan Chien <loganchien@google.com>
Tue, 20 Jun 2017 09:54:07 +0000 (17:54 +0800)
audio.a2dp.default is a system module. Generic system image includes
audio.a2dp.default to support A2DP if board has the capability.

Bug: 62649731
Test: build and check the file existance in system image
Merged-In: Iac4821b3daf993da9fc309b7b105db98ee4b89ce
Change-Id: I0d2194c4145927b21df5858a3787f8c210f2794c
(cherry picked from commit fe3191727b059e18c7e592eab1dea85bc2ff6516)

target/product/treble_common.mk

index f527de9..4567382 100644 (file)
@@ -205,6 +205,12 @@ PRODUCT_COPY_FILES += \
     frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:system/etc/audio_policy_volumes.xml \
     frameworks/av/services/audiopolicy/config/default_volume_tables.xml:system/etc/default_volume_tables.xml \
 
+# Bluetooth:
+#   audio.a2dp.default is a system module. Generic system image includes
+#   audio.a2dp.default to support A2DP if board has the capability.
+PRODUCT_PACKAGES += \
+    audio.a2dp.default
+
 # May need to review why the followings are needed in generic system image.
 PRODUCT_COPY_FILES += \
     device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml