Disable system lockdown if not configured after a reboot

This commit is contained in:
Jonas Lochmann 2020-11-09 01:00:00 +01:00
parent 1baf1bea01
commit 0862f57c59
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36

View file

@ -79,6 +79,8 @@ class BackgroundTaskLogic(val appLogic: AppLogic) {
if (appLogic.deviceEntryIfEnabled.waitForNullableValue() != null) {
appLogic.platformIntegration.setEnableSystemLockdown(true)
} else {
appLogic.platformIntegration.setEnableSystemLockdown(false)
}
}