Indicate that all emulator images support USB

The Android framework assumes that if an app uses UsbManager then there
must be USB support on the device. In order to deal with this the
emulator has to indicate USB support. Previously this was true for
Google SDK phone images because USB support is part of the common API
packages that gets installed. For AOSP and some other build targets USB
support was not included. This change indicates support for USB for all
emulator system images.

BUG: 28088069

Change-Id: I880210e89e6ad3412bdc069d6c20ed54a52cff83
This commit is contained in:
Bjoern Johansson 2016-05-04 15:09:40 -07:00
parent fc992dd29a
commit 6b04d94ff7
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ PRODUCT_COPY_FILES += \
device/generic/goldfish/ueventd.goldfish.rc:root/ueventd.goldfish.rc \ device/generic/goldfish/ueventd.goldfish.rc:root/ueventd.goldfish.rc \
device/generic/goldfish/init.ranchu.rc:root/init.ranchu.rc \ device/generic/goldfish/init.ranchu.rc:root/init.ranchu.rc \
device/generic/goldfish/fstab.ranchu:root/fstab.ranchu \ device/generic/goldfish/fstab.ranchu:root/fstab.ranchu \
device/generic/goldfish/ueventd.ranchu.rc:root/ueventd.ranchu.rc device/generic/goldfish/ueventd.ranchu.rc:root/ueventd.ranchu.rc \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay