Using replace instead of keep strategy for the worker

This commit is contained in:
Maxime NATUREL 2022-05-25 11:06:02 +02:00
parent cfdc18d421
commit 8864a3cf2c
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ internal class LiveLocationAggregationProcessor @Inject constructor(
workManagerProvider.workManager.enqueueUniqueWork(
workName,
ExistingWorkPolicy.KEEP,
ExistingWorkPolicy.REPLACE,
workRequest
)
}