ret = __open_db(dbpath, &db, SQLITE_OPEN_READONLY);
if (ret != SQLITE_OK) {
- _LOGD("failed to open db: %d", ret);
+ _LOGD("failed to open db(%s): %d", dbpath, ret);
free(dbpath);
return PMINFO_R_ERROR;
}
PMINFO_PKGINFO_GET_ALL, list);
if (!g_hash_table_size(list)) {
- _LOGI("pkginfo for [%s] is not existed for user [%d]",
+ _LOGD("pkginfo for [%s] is not existed for user [%d]",
pkgid, uid);
g_hash_table_destroy(list);
free(locale);
}
if (!g_hash_table_size(list)) {
- _LOGI("disabled pkginfo for [%s] is not existed for user [%d]",
+ _LOGD("disabled pkginfo for [%s] is not existed for user [%d]",
pkgid, uid);
g_hash_table_destroy(list);
free(locale);
val = (char *)info->pkg_info->installlocation;
if (strcmp(val, "internal-only") == 0)
*movable = 0;
- else if (strcmp(val, "prefer-external") == 0)
- *movable = 1;
else
*movable = 1;