[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19846: Only add default browser notification work if work is not pending

pull/600/head
Roger Yang 3 years ago committed by mergify[bot]
parent 048abd7f4c
commit 9fdd99943e

@ -118,7 +118,7 @@ class DefaultBrowserNotificationWorker(
instanceWorkManager.beginUniqueWork(
NOTIFICATION_WORK_NAME,
ExistingWorkPolicy.REPLACE,
ExistingWorkPolicy.KEEP,
notificationWork
).enqueue()
}

Loading…
Cancel
Save