Fix icon_display setting 68/216168/2
authorhyunho <hhstark.kang@samsung.com>
Tue, 22 Oct 2019 01:19:59 +0000 (10:19 +0900)
committerhyunho <hhstark.kang@samsung.com>
Tue, 22 Oct 2019 01:23:46 +0000 (10:23 +0900)
Change-Id: I0121acf9bca8157d5abb28615a1a5a536f9348ef
Signed-off-by: hyunho <hhstark.kang@samsung.com>
src/apps_package_manager.c

index 9e6db34..6e2b1bd 100755 (executable)
@@ -363,7 +363,7 @@ ERROR:
 
 static bool __component_data_get_apps_info(component_info_h handle, char *package, app_data_t **item)
 {
-       bool nodisplay = false;
+       bool icon_display = false;
        int ret;
        package_info_h p_handle = NULL;
 
@@ -376,9 +376,9 @@ static bool __component_data_get_apps_info(component_info_h handle, char *packag
        memset(new_item, 0, sizeof(app_data_t));
        *item = new_item;
 
-       component_info_is_icon_display(handle, &nodisplay);
-       if (nodisplay) {
-               __D("Nodisplay is TRUE");
+       component_info_is_icon_display(handle, &icon_display);
+       if (!icon_display) {
+               __D("icon display is false");
                goto ERROR;
        }