Skip to content

Commit

Permalink
[Notification] fix notification when pairing type is set (Samsung#6394)
Browse files Browse the repository at this point in the history
Signed-off-by: SukhyungKang <[email protected]>
  • Loading branch information
sukhyungkang authored and Eunki, Hong committed Oct 10, 2024
1 parent aa8798d commit 01c4437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ internal Notification Build()
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ internal static NotificationEventArgs BindObject(IntPtr notification, bool data)
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;
Expand Down

0 comments on commit 01c4437

Please sign in to comment.