diff --git a/manifest.xml b/manifest.xml
index ad1d3d3..cbb374d 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -258,15 +258,6 @@
default
-
- android.hardware.usb
- hwbinder
- 1.1
-
- IUsb
- default
-
-
android.hardware.vibrator
hwbinder
diff --git a/usb/Android.bp b/usb/Android.bp
index 0bbce2b..c8089cb 100644
--- a/usb/Android.bp
+++ b/usb/Android.bp
@@ -16,6 +16,7 @@ cc_binary {
name: "android.hardware.usb@1.1-service.gts3l",
relative_install_path: "hw",
init_rc: ["android.hardware.usb@1.1-service.gts3l.rc"],
+ vintf_fragments: ["android.hardware.usb@1.1-service.gts3l.xml"],
srcs: ["service.cpp", "Usb.cpp"],
cflags: [
"-Wall",
@@ -24,7 +25,6 @@ cc_binary {
shared_libs: [
"libbase",
"libhidlbase",
- "libhidltransport",
"liblog",
"libutils",
"libhardware",
diff --git a/usb/android.hardware.usb@1.1-service.gts3l.rc b/usb/android.hardware.usb@1.1-service.gts3l.rc
index 8135fc7..0710548 100644
--- a/usb/android.hardware.usb@1.1-service.gts3l.rc
+++ b/usb/android.hardware.usb@1.1-service.gts3l.rc
@@ -1,4 +1,6 @@
service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.gts3l
+ interface android.hardware.usb@1.1::IUsb default
+ interface android.hardware.usb@1.0::IUsb default
class hal
user root
group root system
diff --git a/usb/android.hardware.usb@1.1-service.gts3l.xml b/usb/android.hardware.usb@1.1-service.gts3l.xml
new file mode 100644
index 0000000..81f75e1
--- /dev/null
+++ b/usb/android.hardware.usb@1.1-service.gts3l.xml
@@ -0,0 +1,11 @@
+
+
+ android.hardware.usb
+ hwbinder
+ 1.1
+
+ IUsb
+ default
+
+
+