summaryrefslogtreecommitdiff
path: root/usb
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <Badhri@google.com>2017-06-27 17:03:49 -0700
committerBadhri Jagan Sridharan <badhri@google.com>2018-04-12 17:08:31 -0700
commit1a486328b099682eff1fdfe0329896604368733f (patch)
treeaf2ae011c7c67b99a88aa572172696b56fca87fd /usb
parent26f9353a18d89283db5c2fda0f19e45c0eee584e (diff)
USB HAL: Use 1.1 IUsb intead of 1.0 IUsb
Use 1.1 IUsb in order to make register the service as 1.1 compatible. This enables lshal to recognize the hal service as 1.1 implementation. Bug: 77853977 Bug: 62917546 Test: Manually verified lshal output android.hardware.usb@1.0::IUsb/default 0/1 782 6024 568 android.hardware.usb@1.1::IUsb/default 0/1 782 6024 568 Change-Id: I9b0817841dbcc345a1d854ee4a5193797181ea3f
Diffstat (limited to 'usb')
-rw-r--r--usb/Usb.h2
-rw-r--r--usb/service.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/usb/Usb.h b/usb/Usb.h
index bfa63ae..dfd48ca 100644
--- a/usb/Usb.h
+++ b/usb/Usb.h
@@ -25,7 +25,7 @@ using ::android::hardware::usb::V1_0::PortRoleType;
using ::android::hardware::usb::V1_0::PortDataRole;
using ::android::hardware::usb::V1_0::PortPowerRole;
using ::android::hardware::usb::V1_0::Status;
-using ::android::hardware::usb::V1_0::IUsb;
+using ::android::hardware::usb::V1_1::IUsb;
using ::android::hardware::usb::V1_1::IUsbCallback;
using ::android::hardware::usb::V1_1::PortMode_1_1;
using ::android::hardware::usb::V1_1::PortStatus_1_1;
diff --git a/usb/service.cpp b/usb/service.cpp
index f8c1d3d..6d00728 100644
--- a/usb/service.cpp
+++ b/usb/service.cpp
@@ -26,7 +26,7 @@ using android::hardware::configureRpcThreadpool;
using android::hardware::joinRpcThreadpool;
// Generated HIDL files
-using android::hardware::usb::V1_0::IUsb;
+using android::hardware::usb::V1_1::IUsb;
using android::hardware::usb::V1_1::implementation::Usb;
using android::status_t;