Add option to block Apps at system level

This commit is contained in:
Jonas Lochmann 2019-08-19 00:00:00 +00:00
parent 3fbf598eb5
commit 03bd3a5100
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36
13 changed files with 427 additions and 18 deletions

View file

@ -296,7 +296,9 @@ class BackgroundTaskLogic(val appLogic: AppLogic) {
AndroidIntegrationApps.IgnoredAppHandling.Ignore -> true
AndroidIntegrationApps.IgnoredAppHandling.IgnoreOnStoreOtherwiseWhitelistAndDontDisable -> BuildConfig.storeCompilant
}
})
}) ||
(foregroundAppPackageName != null && foregroundAppActivityName != null &&
AndroidIntegrationApps.shouldIgnoreActivity(foregroundAppPackageName, foregroundAppActivityName))
) {
usedTimeUpdateHelper?.commit(appLogic)
showStatusMessageWithCurrentAppTitle(