Fix up open bugs from gs101 AIDL migration
1. Remove unused group "wakelock".
2. Correct the right return value on setCurrentUsbFunctions.
Bug: 266694076
Test: Boot to home and function work
Change-Id: If0925a61e481e4deca560dc8dfc1be80a76c148f
diff --git a/usb/gadget/UsbGadget.cpp b/usb/gadget/UsbGadget.cpp
index 2000445..d0e16ee 100644
--- a/usb/gadget/UsbGadget.cpp
+++ b/usb/gadget/UsbGadget.cpp
@@ -546,9 +546,7 @@
}
ALOGI("Usb Gadget setcurrent functions called successfully");
- return ScopedAStatus::fromServiceSpecificErrorWithMessage(
- -1, "Usb Gadget setcurrent functions called successfully");
-
+ return ScopedAStatus::ok();
error:
ALOGI("Usb Gadget setcurrent functions failed");