Submit together:
- https://review.tizen.org/gerrit/91895
- https://review.tizen.org/gerrit/91896
Change-Id: Ifda21b50828a13290163b7cc598eb6d40a52e396
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
return ret;
}
- g_variant_get(result, "(i)", &ret);
+ g_variant_get(result, "(ii)", &ret, &pid);
g_variant_unref(result);
if (ret != PKGMGR_R_OK) {
ERR("request failed, ret=%d", ret);
return ret;
}
- /* FIXME */
- pid = __sync_process(pkgid);
*(int *)data = pid;
pkgmgrinfo_pkginfo_destroy_pkginfo(handle);