Bug 1880408 - Remove uses of the deprecated ExistingPeriodicWorkPolicy.REPLACE policy

fenix/125.0
Ryan VanderMeulen 4 months ago committed by mergify[bot]
parent b7478dface
commit 2b187014b4

@ -147,7 +147,7 @@ class MessageNotificationWorker(
// We want to keep any existing scheduled work, unless // We want to keep any existing scheduled work, unless
// when we're under test. // when we're under test.
if (messaging.isUnderTest()) { if (messaging.isUnderTest()) {
ExistingPeriodicWorkPolicy.REPLACE ExistingPeriodicWorkPolicy.CANCEL_AND_REENQUEUE
} else { } else {
ExistingPeriodicWorkPolicy.KEEP ExistingPeriodicWorkPolicy.KEEP
}, },

Loading…
Cancel
Save