summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Soo Shin <jisshin@google.com>2021-07-23 22:47:51 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-07-23 22:47:51 +0000
commit12814a4a2b0da9942481d031648058aefbe5e344 (patch)
tree9a8c5668bc19cdfa4da0abb76cd34f6098758652
parent0ca241b09a40ee79fcefe7897b71bc2092297652 (diff)
parent0bbdaca823c53c2ace6deab05b6b49c5dbd0127a (diff)
downloadcar-12814a4a2b0da9942481d031648058aefbe5e344.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: I900471de2a01863601edb312fcc1a5e454156d5b
-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