Description: This fixes the rotary issue when user cancels
the wps progress or when wps progress scan completes.
Fix:
App should not destroy the callback method before it is
called by EFL framework.
Change-Id: I9f5f5d7d98530b16ee98690abd6a4a513e841677
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
{
if (!data) return;
layout_wps_progress_object *self = data;
- elm_popup_dismiss(self->popup);
/* TODO: It will be removed */
- layout_wps_progress_destroy(self);
+ layout_wps_progress_dismiss(self);
}
static Eina_Bool __progress_timer_task_cb(void *data)
WIFI_RET_IF_FAIL(self->popup != NULL);
elm_popup_dismiss(self->popup);
-
- /* TODO: It will be removed */
- layout_wps_progress_destroy(self);
}
void layout_wps_progress_activate_rotary_event(layout_wps_progress_object *self)