- in notification_crete func
Change-Id: I329c0eee88377dac2df2c5d7e25f06a8bfc33665
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
noti->pkg_id = strdup(noti->caller_app_id);
} else {
err = aul_app_get_pkgid_bypid(getpid(), pkg_id, sizeof(pkg_id));
- if (err != AUL_R_OK) {
- NOTIFICATION_ERR("get_pkgid_bypid is failed err[%d]", err);
- goto out;
- }
- noti->pkg_id = strdup(pkg_id);
+ if (err != AUL_R_OK)
+ noti->pkg_id = strdup(noti->caller_app_id);
+ else
+ noti->pkg_id = strdup(pkg_id);
err = _notification_get_app_name(pkg_id, &domain_name);
if (err != 0 || domain_name == NULL) {