From 0bbdaca823c53c2ace6deab05b6b49c5dbd0127a Mon Sep 17 00:00:00 2001 From: Ji Soo Shin Date: Fri, 23 Jul 2021 16:33:35 +0200 Subject: Enable usb host feature on car emulators This allows phantoscope team and remote app team to test and use emulator to test phantoscope features. Bug: 173649715 Change-Id: Ide1364002b3ab8bd15a7ca1e82fcef4162cc3981 --- emulator/aosp_car_emulator.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emulator/aosp_car_emulator.mk b/emulator/aosp_car_emulator.mk index 4375bd1..c0b0b59 100644 --- a/emulator/aosp_car_emulator.mk +++ b/emulator/aosp_car_emulator.mk @@ -26,6 +26,9 @@ $(call inherit-product, device/generic/car/common/car.mk) $(call inherit-product, device/generic/car/emulator/audio/car_emulator_audio.mk) $(call inherit-product, device/generic/car/emulator/rotary/car_rotary.mk) +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml + ifeq (true,$(BUILD_EMULATOR_CLUSTER_DISPLAY)) PRODUCT_COPY_FILES += \ device/generic/car/emulator/cluster/display_settings.xml:system/etc/display_settings.xml -- cgit v1.2.3