mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-03 01:39:22 +02:00
Improve opening homescreen with the accessibility service
This commit is contained in:
parent
5128e3587e
commit
7d1fcff90f
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ class BackgroundTaskLogic(val appLogic: AppLogic) {
|
|||
if (blockedAppPackageName != appLogic.platformIntegration.getLauncherAppPackageName()) {
|
||||
AccessibilityService.instance?.showHomescreen()
|
||||
delay(100)
|
||||
AccessibilityService.instance?.showHomescreen()
|
||||
delay(100)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue