diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 3adaf1b..ba0690d 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -26,6 +26,7 @@ TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a53 # Bluetooth BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth +BOARD_HAVE_BLUETOOTH_SLSI := true # Build system BUILD_BROKEN_DUP_RULES := true diff --git a/lineage.dependencies b/lineage.dependencies index 0e799f3..cdaf909 100644 --- a/lineage.dependencies +++ b/lineage.dependencies @@ -6,5 +6,9 @@ { "repository": "android_kernel_samsung_universal7904", "target_path": "kernel/samsung/universal7904" + }, + { + "repository": "android_hardware_samsung_slsi_libbt", + "target_path": "hardware/samsung_slsi/libbt" } ] diff --git a/proprietary-files.txt b/proprietary-files.txt index 14b9b0e..a373420 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -42,7 +42,6 @@ vendor/etc/a2dp_audio_policy_configuration.xml vendor/etc/audio_board_info.xml vendor/etc/audio_policy_volumes.xml vendor/etc/audio_policy_volumes_sec.xml -vendor/etc/bluetooth/bt_did.conf vendor/etc/default_volume_tables.xml vendor/etc/floating_feature.xml vendor/etc/fstab.exynos7904 @@ -182,7 +181,6 @@ vendor/lib/libaudio_soundtrigger.so vendor/lib/libaudioroute.so vendor/lib/libbauthserver.so vendor/lib/libbauthtzcommon.so -vendor/lib/libbt-vendor.so vendor/lib/libcsc.so vendor/lib/libegis_fp_normal_sensor_test.so vendor/lib/libexynoscamera.so @@ -282,7 +280,6 @@ vendor/lib64/lib_soundaliveresampler.so vendor/lib64/libacryl.so vendor/lib64/libbauthserver.so vendor/lib64/libbauthtzcommon.so -vendor/lib64/libbt-vendor.so vendor/lib64/libcsc.so vendor/lib64/libegis_fp_normal_sensor_test.so vendor/lib64/libexynoscamera.so diff --git a/universal7904-common.mk b/universal7904-common.mk index 1321bd5..b8c1b14 100644 --- a/universal7904-common.mk +++ b/universal7904-common.mk @@ -27,7 +27,12 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.bluetooth@1.0-impl \ android.hardware.bluetooth@1.0-service \ - audio.a2dp.default + audio.a2dp.default \ + libbt-vendor + +PRODUCT_COPY_FILES += \ + hardware/samsung_slsi/libbt/conf/bt_did.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_did.conf \ + hardware/samsung_slsi/libbt/conf/bt_vendor.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor.conf # Boot animation TARGET_SCREEN_HEIGHT := 2340