mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
For #27885 - Change default browser notification delay to 72 hours
This commit is contained in:
parent
592d19f4b6
commit
43612486e4
@ -124,7 +124,7 @@ class DefaultBrowserNotificationWorker(
|
|||||||
private const val INTENT_DEFAULT_BROWSER_NOTIFICATION = "org.mozilla.fenix.default.browser.intent"
|
private const val INTENT_DEFAULT_BROWSER_NOTIFICATION = "org.mozilla.fenix.default.browser.intent"
|
||||||
private const val NOTIFICATION_TAG = "org.mozilla.fenix.default.browser.tag"
|
private const val NOTIFICATION_TAG = "org.mozilla.fenix.default.browser.tag"
|
||||||
private const val NOTIFICATION_WORK_NAME = "org.mozilla.fenix.default.browser.work"
|
private const val NOTIFICATION_WORK_NAME = "org.mozilla.fenix.default.browser.work"
|
||||||
private const val NOTIFICATION_DELAY = Settings.ONE_DAY_MS
|
private const val NOTIFICATION_DELAY = Settings.THREE_DAYS_MS
|
||||||
|
|
||||||
fun isDefaultBrowserNotificationIntent(intent: Intent) =
|
fun isDefaultBrowserNotificationIntent(intent: Intent) =
|
||||||
intent.extras?.containsKey(INTENT_DEFAULT_BROWSER_NOTIFICATION) ?: false
|
intent.extras?.containsKey(INTENT_DEFAULT_BROWSER_NOTIFICATION) ?: false
|
||||||
|
Loading…
Reference in New Issue
Block a user