Bundle handheld_core_hardware.xml
Bug: 223543820
Test: Manual, verify build artifacts
Change-Id: I60f9c69690de67f83aca795018fd4d1a824446e7
diff --git a/device-oriole.mk b/device-oriole.mk
index 2e3b023..3ee0368 100644
--- a/device-oriole.mk
+++ b/device-oriole.mk
@@ -238,3 +238,7 @@
persist.bluetooth.leaudio_offload.disabled=true \
persist.bluetooth.le_audio_test=true
endif
+
+# Device features
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
diff --git a/device-raven.mk b/device-raven.mk
index 96ddd12..91e3942 100644
--- a/device-raven.mk
+++ b/device-raven.mk
@@ -255,3 +255,7 @@
persist.bluetooth.leaudio_offload.disabled=true \
persist.bluetooth.le_audio_test=true
endif
+
+# Device features
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
diff --git a/device-slider.mk b/device-slider.mk
index 26f8798..647ee73 100644
--- a/device-slider.mk
+++ b/device-slider.mk
@@ -116,3 +116,7 @@
# This device is shipped with 31 (Android S)
PRODUCT_SHIPPING_API_LEVEL := 31
+
+# Device features
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
diff --git a/device-whitefin.mk b/device-whitefin.mk
index 69f129d..577092e 100644
--- a/device-whitefin.mk
+++ b/device-whitefin.mk
@@ -97,3 +97,7 @@
# This device is shipped with 31 (Android S)
PRODUCT_SHIPPING_API_LEVEL := 31
+
+# Device features
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml