From 7d1e64dc96ddf74f7a980cc26bf4a1efda8c4354 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Thu, 14 Nov 2024 21:12:23 +0000 Subject: [PATCH] opt in bt channel sounding for p24 Flag: build.RELEASE_RANGING_STACK Bug: 331206299 Bug: 371095923 Test: build Change-Id: Iacb2e99a14bc4cef515953eca6aac60ec33acc35 --- device.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/device.mk b/device.mk index 85a6ff5..cafbf1d 100644 --- a/device.mk +++ b/device.mk @@ -807,6 +807,12 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml +# Bluetooth channel sounding +ifneq (,$(RELEASE_RANGING_STACK)) +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.bluetooth_le.channel_sounding.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.channel_sounding.xml +endif + PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml