#include <stdlib.h>
#include <stdbool.h>
-#include <sqlite3.h>
#include "manager/pkginfo_manager.h"
#include "pkgmgrinfo_private.h"
ret = _plugininfo_get_appids(pkgid, plugin_type, plugin_name,
&appid_list);
- if (ret != PMINFO_R_OK) {
+ if (ret == PMINFO_R_ERROR) {
_LOGE("Fail to get plugininfo");
return ret;
}
g_list_free_full(appid_list, free);
- return ret;
-
+ return PMINFO_R_OK;
}