Merge "Fix CDM associate command"

This commit is contained in:
TreeHugger Robot
2021-01-11 20:17:51 +00:00
committed by Android (Google) Code Review

View File

@@ -919,9 +919,10 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
break;
case "associate": {
int userId = getNextArgInt();
String pkg = getNextArgRequired();
String address = getNextArgRequired();
addAssociation(new Association(getNextArgInt(), address, pkg, null, false));
addAssociation(new Association(userId, address, pkg, null, false));
}
break;