diff options
Diffstat (limited to 'src/notification.c')
-rwxr-xr-x | src/notification.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/notification.c b/src/notification.c index 03c94d6..c012d5b 100755 --- a/src/notification.c +++ b/src/notification.c @@ -1430,6 +1430,7 @@ static notification_h _notification_create(notification_type_e type) noti->ongoing_flag = false; noti->default_button_index = 0; noti->type = NOTIFICATION_ONGOING_VALUE_TYPE_PERCENT; + noti->timeout = 0; if (getuid() >= REGULAR_UID_MIN) { noti->caller_pkgname = notification_get_pkgname_by_pid(); @@ -1644,6 +1645,7 @@ EXPORT_API int notification_clone(notification_h noti, notification_h *clone) new_noti->ongoing_duration = noti->ongoing_duration; new_noti->auto_remove = noti->auto_remove; new_noti->default_button_index = noti->default_button_index; + new_noti->timeout = noti->timeout; new_noti->uid = noti->uid; |