[lineage-18.0] Add vintf_fragments to android.hardware.usb@1.0-service.basic.

Change-Id: I032144a0774eb1580f9f027496f5bdfcd6abf603
This commit is contained in:
Roman Kiryanov 2020-04-10 13:22:10 -07:00 committed by Alexander Koskovich
parent ad1ad86f42
commit 1c7cbb897a
2 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,7 @@ cc_binary {
name: "android.hardware.usb@1.0-service.basic",
relative_install_path: "hw",
init_rc: ["android.hardware.usb@1.0-service.basic.rc"],
vintf_fragments: ["android.hardware.usb@1.0-service.basic.xml"],
srcs: ["service.cpp", "Usb.cpp"],
shared_libs: [
"libbase",

View File

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.usb</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IUsb</name>
<instance>default</instance>
</interface>
</hal>
</manifest>