mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fix for enrollment app install without Google
This commit is contained in:
parent
07925ac432
commit
a3df5dad01
@ -711,7 +711,7 @@ public class AndroidDeviceUtils {
|
||||
JsonElement googlePolicyPayload = appElement.getAsJsonObject().
|
||||
get(AndroidConstants.ApplicationInstall.GOOGLE_POLICY_PAYLOAD);
|
||||
|
||||
if (googlePolicyPayload == null) {
|
||||
if (googlePolicyPayload == null || googlePolicyPayload.toString().equals("\"\"")) {
|
||||
uuid = appElement.getAsJsonObject().
|
||||
get(AndroidConstants.ApplicationInstall.ENROLLMENT_APP_INSTALL_UUID).getAsString();
|
||||
try (CloseableHttpClient httpClient = HttpClients.createDefault()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user