summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Soo Shin <jisshin@google.com>2021-07-23 22:48:09 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-07-23 22:48:09 +0000
commit1cb344ab3fb99e88bbf12438d8b0f906c456c894 (patch)
treed5804ceab1aebb39f22ece24e47ea0fbb6abace7
parent59e6b2fcfc1a58888dee78bd872b79a1e042c39c (diff)
parent0bbdaca823c53c2ace6deab05b6b49c5dbd0127a (diff)
downloadcar-1cb344ab3fb99e88bbf12438d8b0f906c456c894.tar.gz
Enable usb host feature on car emulators am: 0bbdaca823
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/15371697 Change-Id: Ib2fee28e2360152ae8b85d8868ce0328609aa105
-rw-r--r--emulator/aosp_car_emulator.mk3
1 files changed, 3 insertions, 0 deletions
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