Loading app/src/main/java/org/mozilla/fenix/home/intent/DefaultBrowserIntentProcessor.kt +0 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ class DefaultBrowserIntentProcessor( override fun process(intent: Intent, navController: NavController, out: Intent): Boolean { return if (isDefaultBrowserNotificationIntent(intent)) { activity.openSetDefaultBrowserOption() activity.settings().defaultBrowserNotificationDisplayed = true true } else { Loading app/src/main/java/org/mozilla/fenix/onboarding/DefaultBrowserNotificationWorker.kt +4 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,10 @@ class DefaultBrowserNotificationWorker( ensureChannelExists() NotificationManagerCompat.from(applicationContext) .notify(NOTIFICATION_TAG, NOTIFICATION_ID, buildNotification()) // default browser notification should only happen once applicationContext.settings().defaultBrowserNotificationDisplayed = true return Result.success() } Loading Loading
app/src/main/java/org/mozilla/fenix/home/intent/DefaultBrowserIntentProcessor.kt +0 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ class DefaultBrowserIntentProcessor( override fun process(intent: Intent, navController: NavController, out: Intent): Boolean { return if (isDefaultBrowserNotificationIntent(intent)) { activity.openSetDefaultBrowserOption() activity.settings().defaultBrowserNotificationDisplayed = true true } else { Loading
app/src/main/java/org/mozilla/fenix/onboarding/DefaultBrowserNotificationWorker.kt +4 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,10 @@ class DefaultBrowserNotificationWorker( ensureChannelExists() NotificationManagerCompat.from(applicationContext) .notify(NOTIFICATION_TAG, NOTIFICATION_ID, buildNotification()) // default browser notification should only happen once applicationContext.settings().defaultBrowserNotificationDisplayed = true return Result.success() } Loading