Merge "IServiceManager/ITokenManager uses "default" service name"

This commit is contained in:
TreeHugger Robot
2017-03-01 23:05:57 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {