Merge branch 'master' into jenkinsfile

master
Kavin Prathaban 3 months ago
commit 6f51a85387

@ -243,6 +243,8 @@ public class MQTTAdapterListener implements MqttCallback, Runnable {
} else { } else {
inputEventAdapterListener.onEvent(msgText); inputEventAdapterListener.onEvent(msgText);
} }
} catch (Exception ex) {
log.error("Error in message arrive : ", ex);
} finally { } finally {
PrivilegedCarbonContext.endTenantFlow(); PrivilegedCarbonContext.endTenantFlow();
} }

@ -231,7 +231,7 @@ import java.util.List;
@Scope( @Scope(
name = "Password Policy", name = "Password Policy",
description = "Set password policy of an Android Device", description = "Set password policy of an Android Device",
key = "and:ops:password-policy", key = "and:ops:pwd-policy",
roles = {"Internal/devicemgt-admin"}, roles = {"Internal/devicemgt-admin"},
permissions = {"/device-mgt/devices/owning-device/operations/android/password-policy"} permissions = {"/device-mgt/devices/owning-device/operations/android/password-policy"}
), ),
@ -1751,7 +1751,7 @@ public interface DeviceManagementAdminService {
tags = "Android Device Management Administrative Service", tags = "Android Device Management Administrative Service",
extensions = { extensions = {
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:password-policy") @ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:pwd-policy")
}) })
} }
) )

@ -21,7 +21,7 @@
"and:ops:mute", "and:ops:mute",
"and:ops:change-lock-code", "and:ops:change-lock-code",
"and:ops:blacklist-app", "and:ops:blacklist-app",
"and:ops:password-policy", "and:ops:pwd-policy",
"and:ops:encrypt-storage", "and:ops:encrypt-storage",
"and:ops:clear-password", "and:ops:clear-password",
"and:ops:enterprise-wipe", "and:ops:enterprise-wipe",

Loading…
Cancel
Save