From fabb6dc517afa3ea4bed8c3513db78e66cb8e92a Mon Sep 17 00:00:00 2001 From: Liviu Timar <65943217+liviu-timar@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:33:52 +0300 Subject: [PATCH] Set null as callDisplayName default value in getOngoingCallNotification and getRingingCallNotification --- .../video/android/core/notifications/NotificationHandler.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/NotificationHandler.kt b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/NotificationHandler.kt index 5646bc2eb8..5c6f9f792a 100644 --- a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/NotificationHandler.kt +++ b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/NotificationHandler.kt @@ -31,14 +31,14 @@ public interface NotificationHandler : NotificationPermissionHandler { fun onLiveCall(callId: StreamCallId, callDisplayName: String) fun getOngoingCallNotification( callId: StreamCallId, - callDisplayName: String?, + callDisplayName: String? = null, isOutgoingCall: Boolean = false, remoteParticipantCount: Int = 0, ): Notification? fun getRingingCallNotification( ringingState: RingingState, callId: StreamCallId, - callDisplayName: String?, + callDisplayName: String? = null, shouldHaveContentIntent: Boolean = true, ): Notification? fun getSettingUpCallNotification(): Notification?