Merge "IServiceManager/ITokenManager uses "default" service name"
This commit is contained in:
committed by
Android (Google) Code Review
commit
7bf141233b
@@ -117,7 +117,7 @@ public class UsbPortManager {
|
||||
public UsbPortManager(Context context) {
|
||||
mContext = context;
|
||||
try {
|
||||
boolean ret = IServiceManager.getService("manager")
|
||||
boolean ret = IServiceManager.getService()
|
||||
.registerForNotifications("android.hardware.usb@1.0::IUsb",
|
||||
"", mServiceNotification);
|
||||
if (!ret) {
|
||||
|
||||
Reference in New Issue
Block a user