Fix up open bugs from gs201 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
This commit is contained in:
Ricky Niu 2023-02-01 19:40:22 +08:00 committed by TreeHugger Robot
parent 1737cfc63d
commit 5c7e338667
2 changed files with 2 additions and 5 deletions

View file

@ -550,9 +550,7 @@ ScopedAStatus UsbGadget::setCurrentUsbFunctions(long functions,
}
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");