Skip to content

Commit 8a0dba0

Browse files
authored
1 parent f8144fa commit 8a0dba0

File tree

3 files changed

+2
-72
lines changed

3 files changed

+2
-72
lines changed

pir/pir-internal/src/main/java/com/duckduckgo/pir/internal/scan/PirForegroundScanService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class PirForegroundScanService : Service(), CoroutineScope by MainScope() {
7272
startForeground(1, notification)
7373

7474
launch {
75-
val result = pirScan.execute(supportedBrokers, this@PirForegroundScanService, MANUAL)
75+
val result = pirScan.executeAllBrokers(this@PirForegroundScanService, MANUAL)
7676
if (result.isSuccess) {
7777
notificationManagerCompat.checkPermissionAndNotify(
7878
applicationContext,

pir/pir-internal/src/main/java/com/duckduckgo/pir/internal/scan/PirScheduledScanWorker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class PirScheduledScanRemoteWorker(
4040

4141
override suspend fun doRemoteWork(): Result {
4242
logcat { "PIR-WORKER ($this}: doRemoteWork ${Process.myPid()}" }
43-
val result = pirScan.execute(supportedBrokers, context.applicationContext, SCHEDULED)
43+
val result = pirScan.executeAllBrokers(context.applicationContext, SCHEDULED)
4444

4545
return if (result.isSuccess) {
4646
logcat { "PIR-WORKER ($this}: Successfully completed!" }

pir/pir-internal/src/main/java/com/duckduckgo/pir/internal/scan/PirSupportedBrokers.kt

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)