Change-Id: I33265d0a30cd4162551d1cff3489797ce933fe05
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
pkgtype = _get_pkgtype_from_pkgid(pkgid, target_uid);
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
pkgtype = _get_pkgtype_from_pkgid(pkgid, target_uid);
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
- g_variant_new("(is)", PKGMGR_R_ESYSTEM, ""));
+ g_variant_new("(is)", PKGMGR_R_ENOPKG, ""));
pkgtype = _get_pkgtype_from_pkgid(pkgid, target_uid);
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
pkgtype = _get_pkgtype_from_pkgid(pkgid, target_uid);
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
- g_variant_new("(is)", PKGMGR_R_ESYSTEM, ""));
+ g_variant_new("(is)", PKGMGR_R_ENOPKG, ""));
pkgtype = _get_pkgtype_from_pkgid(pkgid, target_uid);
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
pkgtype = _get_pkgtype_from_pkgid(pkgid, target_uid);
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
- g_variant_new("(is)", PKGMGR_R_ESYSTEM, ""));
+ g_variant_new("(is)", PKGMGR_R_ENOPKG, ""));
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
g_variant_new("(is)",
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
g_variant_new("(is)",
- PKGMGR_R_ESYSTEM, ""));
free(reqkey);
return -1;
}
free(reqkey);
return -1;
}
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
g_variant_new("(is)",
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
g_variant_new("(is)",
- PKGMGR_R_ESYSTEM, ""));
free(reqkey);
return -1;
}
free(reqkey);
return -1;
}
pkgtype = _get_pkgtype_from_pkgid(pkgid, target_uid);
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
pkgtype = _get_pkgtype_from_pkgid(pkgid, target_uid);
if (pkgtype == NULL) {
g_dbus_method_invocation_return_value(invocation,
- g_variant_new("(i)", PKGMGR_R_ESYSTEM));
+ g_variant_new("(i)", PKGMGR_R_ENOPKG));