diff --git a/app/src/main/java/org/linphone/notifications/NotificationBroadcastReceiver.kt b/app/src/main/java/org/linphone/notifications/NotificationBroadcastReceiver.kt index 5e4163307..ebfc134cd 100644 --- a/app/src/main/java/org/linphone/notifications/NotificationBroadcastReceiver.kt +++ b/app/src/main/java/org/linphone/notifications/NotificationBroadcastReceiver.kt @@ -33,7 +33,7 @@ import org.linphone.core.tools.Log class NotificationBroadcastReceiver : BroadcastReceiver() { override fun onReceive(context: Context, intent: Intent) { Log.i("[Notification Broadcast Receiver] Ensuring Core exists") - ensureCoreExists(context, false) + ensureCoreExists(context.applicationContext, false) val notificationId = intent.getIntExtra(NotificationsManager.INTENT_NOTIF_ID, 0) Log.i("[Notification Broadcast Receiver] Got notification broadcast for ID [$notificationId]")