mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-05 02:39:30 +02:00
Add option to block Apps at system level
This commit is contained in:
parent
3fbf598eb5
commit
03bd3a5100
13 changed files with 427 additions and 18 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue