Improve opening homescreen with the accessibility service

This commit is contained in:
Jonas L 2019-04-15 00:00:00 +00:00
parent 5128e3587e
commit 7d1fcff90f

View file

@ -149,6 +149,8 @@ class BackgroundTaskLogic(val appLogic: AppLogic) {
if (blockedAppPackageName != appLogic.platformIntegration.getLauncherAppPackageName()) { if (blockedAppPackageName != appLogic.platformIntegration.getLauncherAppPackageName()) {
AccessibilityService.instance?.showHomescreen() AccessibilityService.instance?.showHomescreen()
delay(100) delay(100)
AccessibilityService.instance?.showHomescreen()
delay(100)
} }
} }