Skip to content

Commit 77ef602

Browse files
committed
Merge branch 'release/5.59.1' into main
2 parents 453f43e + b1afa7e commit 77ef602

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

app/src/main/java/com/duckduckgo/app/global/DuckDuckGoApplication.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ open class DuckDuckGoApplication : HasAndroidInjector, Application(), LifecycleO
194194
scheduleOfflinePixels()
195195

196196
notificationRegistrar.registerApp()
197+
registerReceiver(shortcutReceiver, IntentFilter(ShortcutBuilder.USE_OUR_APP_SHORTCUT_ADDED_ACTION))
197198

198199
initializeHttpsUpgrader()
199200
submitUnsentFirePixels()
@@ -299,7 +300,6 @@ open class DuckDuckGoApplication : HasAndroidInjector, Application(), LifecycleO
299300
Timber.i("Suppressing app launch pixel")
300301
return
301302
}
302-
registerReceiver(shortcutReceiver, IntentFilter(ShortcutBuilder.USE_OUR_APP_SHORTCUT_ADDED_ACTION))
303303
pixel.fire(APP_LAUNCH)
304304
}
305305

@@ -312,11 +312,6 @@ open class DuckDuckGoApplication : HasAndroidInjector, Application(), LifecycleO
312312
}
313313
}
314314

315-
@OnLifecycleEvent(Lifecycle.Event.ON_STOP)
316-
fun onAppStopped() {
317-
unregisterReceiver(shortcutReceiver)
318-
}
319-
320315
companion object {
321316
private const val APP_RESTART_CAUSED_BY_FIRE_GRACE_PERIOD: Long = 10_000L
322317
}

app/version/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION=5.59.0
1+
VERSION=5.59.1

0 commit comments

Comments
 (0)