Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Device Policy sync does not work until done manually

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

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.

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.

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 ?

like image 507
Sudhu Avatar asked Nov 26 '22 23:11

Sudhu


1 Answers

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

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

I have my device update in a few seconds.

like image 115
stef Avatar answered Dec 04 '22 14:12

stef