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 (cherry picked from commit 5c7e338667a7f21c27f5789c16a4781dcbbe8755)
This commit is contained in:
parent
400c1a9ca3
commit
704316d8ba
2 changed files with 2 additions and 5 deletions
|
@ -530,9 +530,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");
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
service vendor.usb-gadget-hal /vendor/bin/hw/android.hardware.usb.gadget-service
|
||||
class hal
|
||||
user system
|
||||
group system shell mtp wakelock
|
||||
capabilities WAKE_ALARM BLOCK_SUSPEND
|
||||
group system shell mtp
|
||||
|
||||
on post-fs
|
||||
chown root system /sys/class/typec/port0/power_role
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue