Fixed build failure

merge-requests/7/head
lasantha 7 years ago
parent 17bce6fed1
commit ede7680b40

@ -52,11 +52,11 @@ public class SubscriptionManagementAPIImpl implements SubscriptionManagementAPI{
Object result; Object result;
SubscriptionManager subscriptionManager = APIUtil.getSubscriptionManager(); SubscriptionManager subscriptionManager = APIUtil.getSubscriptionManager();
try { try {
String applicationUUTD = installationDetails.getApplicationUUID(); String applicationUUID = installationDetails.getApplicationUUID();
String versionName = installationDetails.getVersionName(); String versionName = installationDetails.getVersionName();
if (!installationDetails.getDeviceIdentifiers().isEmpty()) { if (!installationDetails.getDeviceIdentifiers().isEmpty()) {
List<DeviceIdentifier> deviceList = installationDetails.getDeviceIdentifiers(); List<DeviceIdentifier> deviceList = installationDetails.getDeviceIdentifiers();
result = subscriptionManager.installApplicationForDevices(applicationUUTD, versionName, deviceList); result = subscriptionManager.installApplicationForDevices(applicationUUID, versionName, deviceList);
} else if (!installationDetails.getUserNameList().isEmpty()) { } else if (!installationDetails.getUserNameList().isEmpty()) {
List<String> userList = installationDetails.getUserNameList(); List<String> userList = installationDetails.getUserNameList();
result = subscriptionManager.installApplicationForUsers(applicationUUID, userList, versionName); result = subscriptionManager.installApplicationForUsers(applicationUUID, userList, versionName);

Loading…
Cancel
Save