__print_noti(noti);
+ ret = notification_get_id(noti, NULL, &priv_id);
+ if (ret != NOTIFICATION_ERROR_NONE) {
+ ERR("Failed to get priv_id [%d]", ret);
+ return ret;
+ }
+
if (notification_validate_private_sharing(noti) == false) {
source_noti = notification_create(NOTIFICATION_TYPE_NOTI);
if (source_noti == NULL)
return get_last_result();
- notification_get_id(noti, NULL, &priv_id);
notification_noti_get_by_priv_id(source_noti, priv_id);
notification_calibrate_private_sharing(noti, source_noti);
return ret;
}
- ret = notification_get_id(noti, NULL, &priv_id);
- if (ret != NOTIFICATION_ERROR_NONE) {
- ERR("Failed to gets priv_id [%d]", ret);
- return ret;
- }
-
notification_set_private_sharing(noti, uid);
body = notification_ipc_make_gvariant_from_noti(noti, true);