OSDN Git Service

Copy IDC for goldfish_rotary to /system/usr/idc
authorNimrod Gileadi <nimrod@google.com>
Tue, 17 Jan 2017 20:07:56 +0000 (20:07 +0000)
committerNimrod Gileadi <nimrod@google.com>
Wed, 18 Jan 2017 11:02:02 +0000 (11:02 +0000)
This IDC file won't be used by the emulator, unless there's an input
device called goldfish_rotary. That device is being added to the kernel
in http://r.android.com/321420.

Once that device is present, EventHub will look for a file named
goldfish_rotary.idc in the system/usr/idc directory to get the device
configuration.

Bug: 33292948
Change-Id: I384f29980d802280e626915844bddc49bc46110d

target/product/emulator.mk

index b08a28a..afa8389 100644 (file)
@@ -61,6 +61,7 @@ PRODUCT_COPY_FILES += \
     device/generic/goldfish/init.ranchu.rc:root/init.ranchu.rc \
     device/generic/goldfish/fstab.ranchu:root/fstab.ranchu \
     device/generic/goldfish/ueventd.ranchu.rc:root/ueventd.ranchu.rc \
+    device/generic/goldfish/input/goldfish_rotary.idc:system/usr/idc/goldfish_rotary.idc \
     frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
 
 PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay