Switch to common basic USB HAL
authorBruno Martins <bgcngm@gmail.com>
Thu, 16 Aug 2018 14:19:28 +0000 (15:19 +0100)
committerJan Altensen <info@stricted.net>
Sun, 24 Feb 2019 12:31:39 +0000 (13:31 +0100)
Change-Id: I0e0809a2338f006063c5160bb7aec36a555cebab

hidl.mk
manifest.xml

diff --git a/hidl.mk b/hidl.mk
index 39d9103e5c6a6f6eae6160b97785352809a413e2..6b8c1cb780e300abd8515bd2fa1737608c5cc418 100644 (file)
--- a/hidl.mk
+++ b/hidl.mk
@@ -76,6 +76,10 @@ PRODUCT_PACKAGES += \
 PRODUCT_PACKAGES += \
     android.hardware.sensors@1.0-impl
 
+# USB
+PRODUCT_PACKAGES += \
+    android.hardware.usb@1.0-service.basic
+
 # Wi-Fi
 PRODUCT_PACKAGES += \
     android.hardware.wifi@1.0 \
index ba72a957e70be296869bb56622b2f93302eab7be..b1169109978b38f52a2b530ccbb42d8dc3fe25c7 100644 (file)
         <transport arch="32">passthrough</transport>
         <version>1.0</version>
     </hal>
+    <hal format="hidl">
+        <name>android.hardware.usb</name>
+        <transport>hwbinder</transport>
+        <version>1.0</version>
+        <interface>
+            <name>IUsb</name>
+            <instance>default</instance>
+        </interface>
+    </hal>
     <hal format="hidl">
         <name>android.hardware.wifi</name>
         <transport>hwbinder</transport>