I am now to using Android Managment Api to create Kiosk devices for my company. I wanted to create Kiosk device with my kiosk App locked to screen and the screen will never dim (this achieved within kiosk App with the android:keepScreenOn="true" setting). System/App updates are supposed to be applied during the daily maintenance window of 2am - 4am. Below is the policy I created based on what I learnt.
"applications": [
{
"packageName": "com.achieversprofile.facaccess",
"installType": "REQUIRED_FOR_SETUP",
"lockTaskAllowed": true,
"defaultPermissionPolicy": "GRANT"
}
],
"systemUpdate": {
"type": "WINDOWED",
"startMinutes": 120,
"endMinutes": 240
},
The kiosk device was running well and App updates we released via google play were correctly updated. However, recently, there was a system update which was not automatically applied during the maintenance window.
The below system update screen was loaded to the foreground and after some time the kiosk device screen turned black as a result. May I know if there is anything else I need to add to my policy to enable system updates to be applied during the maintenance window as well? Or is there anything to set on the device? I am using Samsung A10.