[Notification] fix notification when pairing type is set (#6394)
authorsukhyungkang <35091460+sukhyungkang@users.noreply.github.com>
Mon, 7 Oct 2024 05:42:05 +0000 (14:42 +0900)
committerGitHub <noreply@github.com>
Mon, 7 Oct 2024 05:42:05 +0000 (14:42 +0900)
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
src/Tizen.Applications.Notification/Tizen.Applications.Notifications/Notification.cs
src/Tizen.Applications.NotificationEventListener/Tizen.Applications.NotificationEventListener/NotificationEventArgsBinder.cs

index e5b573b2bd0dbf89325165f8e6f840a79c6222c0..dbe432112941f611ad3732159f343ab7983a173b 100755 (executable)
@@ -528,7 +528,7 @@ namespace Tizen.Applications.Notifications
                 Bundle bundle = new Bundle(new SafeBundleHandle(extension, false));
                 foreach (string key in bundle.Keys)
                 {
-                    if (key.StartsWith("_NOTIFICATION_EXTENSION_EVENT_"))
+                    if (key.StartsWith("_NOTIFICATION_EXTENSION_EVENT_") || key.StartsWith("_NOTIFICATION_TYPE_PAIRING_"))
                         continue;
 
                     SafeBundleHandle sbh;
index 7fb9d7238cca7777e8c5d751d87e1df2a2309edf..1156f866b109f659131493ef4d0e624a26e32bd0 100755 (executable)
@@ -172,7 +172,7 @@ namespace Tizen.Applications.NotificationEventListener
                 Bundle bundle = new Bundle(new SafeBundleHandle(extension, false));
                 foreach (string key in bundle.Keys)
                 {
-                    if (key.StartsWith("_NOTIFICATION_EXTENSION_EVENT_"))
+                    if (key.StartsWith("_NOTIFICATION_EXTENSION_EVENT_") || key.StartsWith("_NOTIFICATION_TYPE_PAIRING_"))
                         continue;
 
                     SafeBundleHandle sbh;