Apply changed directory policy
[apps/core/preloaded/smartsearch.git] / src / ps_makeupviews.cpp
index 1c2b05c..8970886 100755 (executable)
@@ -1047,8 +1047,6 @@ void search_set_result_list(void *data)
 
                if (ret < 0)
               SEARCH_DEBUG_WARNING("Error : set keyword to vconf");
-
-               return;
        }
 
        /* If category is Phone, make a thread for search */
@@ -1058,8 +1056,10 @@ void search_set_result_list(void *data)
 
        switch(category) {
        case SEARCH_CATE_PHONE:
-               ad->search_thread = search_make_result_thread(ad);
-               break;
+               if (is_input_keyword) {
+                       ad->search_thread = search_make_result_thread(ad);
+               }
+       break;
        }
        SEARCH_FUNC_END;
 }