mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-27 18:19:03 +00:00
The IUsb interface uses "default" service name
By default, it is expected that the service does not rename itself unless there is more than one service exposed by the interface. This CL changes the usb hal service name back to "default" instead of "usb_hal" Bug: 36097487 Test: Manually tested role swap and UI behavior Change-Id: I4a0aa4423c80cd893c578bc58b9276956daba732
This commit is contained in:
@@ -28,12 +28,10 @@ using android::hardware::usb::V1_0::IUsb;
|
||||
using android::hardware::usb::V1_0::implementation::Usb;
|
||||
|
||||
int main() {
|
||||
const char instance[] = "usb_hal";
|
||||
|
||||
android::sp<IUsb> service = new Usb();
|
||||
|
||||
configureRpcThreadpool(1, true /*callerWillJoin*/);
|
||||
service->registerAsService(instance);
|
||||
service->registerAsService();
|
||||
|
||||
ALOGI("USB HAL Ready.");
|
||||
joinRpcThreadpool();
|
||||
|
||||
Reference in New Issue
Block a user