mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Added is_active field
This commit is contained in:
parent
8b6fe27cab
commit
f58abbe0db
@ -338,6 +338,9 @@ public class AndroidAPIUtils {
|
||||
if (element.getAsJsonObject().get(AndroidConstants.ApplicationProperties.VERSION) != null) {
|
||||
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);
|
||||
}
|
||||
getApplicationManagerService().updateApplicationListInstalledInDevice(deviceIdentifier, applications);
|
||||
|
||||
@ -128,6 +128,7 @@ public final class AndroidConstants {
|
||||
public static final String USS = "USS";
|
||||
public static final String VERSION = "version";
|
||||
public static final String ICON = "icon";
|
||||
public static final String IS_ACTIVE = "is_active";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user