在手动完成之前,Android设备政策同步无法正常工作 [英] Android Device Policy sync does not work until done manually

查看:95
本文介绍了在手动完成之前,Android设备政策同步无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们将一些Android设备作为完全托管的工作设备附加到Android Management API.

We have some android devices attached to Android Management API as fully managed work devices.

现在,当我们对设备策略进行某些更改(例如Factory Reset DisabledAdjust Volume Button Disabled或任何其他此类控件)时,设备不会立即对其进行同步.

Now when we push out some changes to the device policy such as Factory Reset Disabled, Adjust Volume Button Disabled or any other such controls, the devices don't sync it immediately.

实际上,我们必须手动打开Android设备策略,然后单击Sync才能真正获取更改.

In fact we have to manually open up Android Device Policy and click on Sync for it actually get the changes.

这确实很麻烦,因为有时该策略几个小时不同步,并且设备无法获取更新.

This is really troublesome because at times the policy doesn't sync for hours together and the devices don't get the updates.

我们还要为每次控件更改加载整个设备的policy,因为如果其他控件没有返回到null,可以使用PatchUpdateMask来避免这种情况吗?

Also we load up the whole policy of the device for every control change because if not the other controls go back to null, can Patch or UpdateMask be used to avoid this?

有人可以建议我如何确保设备立即获得策略更改吗?

Can someone please suggest me of what can be done to make sure the device gets the policy changes immediately ?

推荐答案

尝试以下设置: "appAutoUpdatePolicy":总是",

Try with the settings: "appAutoUpdatePolicy": "ALWAYS",

"systemUpdate":{ "type":"AUTOMATIC" }

"systemUpdate": { "type": "AUTOMATIC" }

几秒钟后我就会更新我的设备.

I have my device update in a few seconds.

这篇关于在手动完成之前,Android设备政策同步无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆