Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes

MDMService.Preferences is really an awesome feature to provision apps with config data, etc. I think, it's not DIRECT_BOOT aware, though, c.f. here: https://developer.android.com/privacy-and-security/direct-boot, i.e. it will only work after the first unlock by the user.

Is there any plan on adding this feature? Or what would you recommend to consider, when implementing this oneself? 

related to an answer for: How to use Application Settings?
ago by (240 points)

1 Answer

0 votes

Yes, there are plans to implement the listener of android.intent.action.LOCKED_BOOT_COMPLETED in Headwind MDM, so it could work after boot even when the device is locked. 

This however needs some design changes, because currently all settings are stored in user preferences which are not available when a device is locked.

ago by (45.7k points)
...