From c55ded8955669235cd12fc9335e00a0be4711034 Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Wed, 16 Mar 2016 14:26:11 +0900 Subject: [PATCH] get values from app_disable column from package app info Change-Id: I0a3a0925415572132680e98fc1e8ed4e1da86e80 Signed-off-by: Junghyun Yeon --- src/pkgmgrinfo_appinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pkgmgrinfo_appinfo.c b/src/pkgmgrinfo_appinfo.c index 27e9534..4a2cd88 100644 --- a/src/pkgmgrinfo_appinfo.c +++ b/src/pkgmgrinfo_appinfo.c @@ -595,7 +595,7 @@ static int _appinfo_get_application(sqlite3 *db, const char *appid, "app_support_disable, " "component_type, package, app_process_pool, app_installed_storage, " "app_background_category, app_package_type, " - "app_root_path, app_api_version, app_effective_appid " + "app_root_path, app_api_version, app_effective_appid, app_disable " "FROM package_app_info WHERE app_id='%s' " "AND (app_disable='%s' " "%s app_id %s IN " @@ -671,6 +671,7 @@ static int _appinfo_get_application(sqlite3 *db, const char *appid, _save_column_str(stmt, idx++, &info->root_path); _save_column_str(stmt, idx++, &info->api_version); _save_column_str(stmt, idx++, &info->effective_appid); + _save_column_str(stmt, idx++, &info->is_disabled); info->background_category = __get_background_category(bg_category_str); free(bg_category_str); -- 2.7.4