get values from app_disable column from package app info 33/62433/1 accepted/tizen/common/20160316.160452 accepted/tizen/ivi/20160316.081403 accepted/tizen/mobile/20160316.081319 accepted/tizen/tv/20160316.081330 accepted/tizen/wearable/20160316.081345 submit/tizen/20160316.052919 submit/tizen_common/20160316.154911
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 16 Mar 2016 05:26:11 +0000 (14:26 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 16 Mar 2016 05:26:11 +0000 (14:26 +0900)
Change-Id: I0a3a0925415572132680e98fc1e8ed4e1da86e80
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkgmgrinfo_appinfo.c

index 27e9534..4a2cd88 100644 (file)
@@ -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);