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

View file

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