mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-03 01:39:22 +02:00
Disable system lockdown if not configured after a reboot
This commit is contained in:
parent
1baf1bea01
commit
0862f57c59
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ class BackgroundTaskLogic(val appLogic: AppLogic) {
|
|||
|
||||
if (appLogic.deviceEntryIfEnabled.waitForNullableValue() != null) {
|
||||
appLogic.platformIntegration.setEnableSystemLockdown(true)
|
||||
} else {
|
||||
appLogic.platformIntegration.setEnableSystemLockdown(false)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue