retvm_if(rt == NULL, NULL, "Failed to add rectangle\n");
evas_object_color_set(rt, 0, 0, 0, 0);
- evas_object_size_hint_min_set(rt, 50, 50);
+ evas_object_size_hint_min_set(rt,
+ (int)72 * elm_scale_get(),
+ (int)72 * elm_scale_get());
elm_object_part_content_set(icon, "icon_ly", rt);
elm_object_part_content_set(icon, "icon", icon_ly);
retvm_if (rt == NULL, NULL, "Failed to add rectangle\n");
evas_object_color_set(rt, 0, 0, 0, 0);
- evas_object_size_hint_min_set(rt, 50, 50);
+ evas_object_size_hint_min_set(rt,
+ (int)72 * elm_scale_get(),
+ (int)72 * elm_scale_get());
elm_object_part_content_set(icon, "icon_ly", rt);
elm_object_part_content_set(icon, "icon", icon_ly);
itc_dl.func.text_get = _gl_text_get_app;
itc_dl.func.content_get = _gl_content_get_app;
- itc_hl.item_style = "1text.2icon.4";
+ itc_hl.item_style = "1text.2icon.1";
itc_hl.func.text_get = _gl_text_get_his;
itc_hl.func.content_get = _gl_content_get_his;
_D("func\n");
retm_if(ad == NULL, "Invalid argument: appdata is NULL\n");
int ret = AUL_R_ERROR;
+ int retry_cnt = 0;
+ int sleep_value = 1000;
_init_grp_cnt();
- while (ret != AUL_R_OK)
+ while (ret != AUL_R_OK && retry_cnt < 5) {
+ usleep(sleep_value);
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");
+ }
+
+ retry_cnt++;
+ sleep_value *= 2;
+ }
+
taskmanager_get_history_app_info(ad);
_set_genlist_from_eina(ad);