|
|
@ -338,6 +338,9 @@ public class AndroidAPIUtils {
|
|
|
|
if (element.getAsJsonObject().get(AndroidConstants.ApplicationProperties.VERSION) != null) {
|
|
|
|
if (element.getAsJsonObject().get(AndroidConstants.ApplicationProperties.VERSION) != null) {
|
|
|
|
app.setVersion(element.getAsJsonObject().get(AndroidConstants.ApplicationProperties.VERSION).getAsString());
|
|
|
|
app.setVersion(element.getAsJsonObject().get(AndroidConstants.ApplicationProperties.VERSION).getAsString());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (element.getAsJsonObject().get(AndroidConstants.ApplicationProperties.IS_ACTIVE) != null) {
|
|
|
|
|
|
|
|
app.setActive(element.getAsJsonObject().get(AndroidConstants.ApplicationProperties.VERSION).getAsBoolean());
|
|
|
|
|
|
|
|
}
|
|
|
|
applications.add(app);
|
|
|
|
applications.add(app);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
getApplicationManagerService().updateApplicationListInstalledInDevice(deviceIdentifier, applications);
|
|
|
|
getApplicationManagerService().updateApplicationListInstalledInDevice(deviceIdentifier, applications);
|
|
|
|