N_SE-9882 : can't launch task-manager when press long key
authorJunghyun Kim <jh1114.kim@samsung.com>
Tue, 11 Sep 2012 06:35:02 +0000 (15:35 +0900)
committerJunghyun Kim <jh1114.kim@samsung.com>
Tue, 11 Sep 2012 06:40:00 +0000 (15:40 +0900)
        - remove while code

Change-Id: Ieb1f6b21669ded82b6cc3067d57e8b153e2ed5fd

src/_genlist.c

index 5ef31ad..480db80 100755 (executable)
@@ -682,8 +682,11 @@ _D("func\n");
 
        _init_grp_cnt();
 
-       while (ret != AUL_R_OK)
-               ret = aul_app_get_running_app_info(runapp_info_get, ad);
+       ret = aul_app_get_running_app_info(runapp_info_get, ad);
+
+       if (ret != AUL_R_OK) {
+               _D("Fail to get running app information from ail");
+       }
 
        taskmanager_get_history_app_info(ad);
        _set_genlist_from_eina(ad);