Fix notification clone error 87/76987/2 accepted/tizen/common/20160629.222606 accepted/tizen/ivi/20160629.021155 accepted/tizen/mobile/20160629.021215 accepted/tizen/tv/20160629.021122 accepted/tizen/wearable/20160629.021202 submit/tizen/20160628.103424
authorseungha.son <seungha.son@samsung.com>
Tue, 28 Jun 2016 07:45:49 +0000 (16:45 +0900)
committerMyungKi Lee <mk5004.lee@samsung.com>
Tue, 28 Jun 2016 08:09:33 +0000 (01:09 -0700)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ie22fb05ba77d9eb3b77cc4d134e8c7260fcc5ad3

src/notification.c

index 2e4f99a..f48e6b3 100755 (executable)
@@ -1714,6 +1714,11 @@ EXPORT_API int notification_clone(notification_h noti, notification_h *clone)
        else
                new_noti->b_key = NULL;
 
+       if (noti->tag != NULL)
+               new_noti->tag = strdup(noti->tag);
+       else
+               new_noti->tag = NULL;
+
        if (noti->b_format_args != NULL)
                new_noti->b_format_args = bundle_dup(noti->b_format_args);
        else