Single-use device improvements
You as the device owner can now control added settings, thus improving device management using the following:
setKeyguardDisabled()
can be used to disable or re-enable the keyguardsetStatusBarDisabled()
can be used to disable or re-enable the status barUserManager.DISALLOW_SAFE_BOOT
is a new constant that states whether the user can boot a device to safe bootSettings.Global.STAY_ON_WHILE_PLUGGED_IN
will prevent the screen from turning off while plugged in to power