From: Seonah Moon Date: Sun, 17 Jul 2016 04:21:28 +0000 (+0900) Subject: [TSAM-6577][TSAM-6580][TSAM-6480] Fix some bugs X-Git-Tag: accepted/tizen/ivi/20160718.103829~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab2a3d6c2828e8782d411d0811757727abb307d9;p=apps%2Fnative%2Fug-wifi-efl.git [TSAM-6577][TSAM-6580][TSAM-6480] Fix some bugs - Create scan object when scan is finished - Destroy editfield when keypad is hide Change-Id: I3f5890b8f045c59ff4073da994cad9678da23dba Signed-off-by: Seonah Moon --- diff --git a/sources/wearable/src/wearable-circle/app_main.c b/sources/wearable/src/wearable-circle/app_main.c index 0f26639..9303e4f 100755 --- a/sources/wearable/src/wearable-circle/app_main.c +++ b/sources/wearable/src/wearable-circle/app_main.c @@ -303,8 +303,11 @@ static void __wifi_manager_scan_finished_cb(wifi_manager_object *manager, } if (app_obj->is_first_scan) { + if (!app_obj->scan) + app_obj->scan = _scan_create(app_obj->base, app_obj); + if (idler_util_managed_idle_add(_wifi_manager_scan_start_for_idle, - app_obj) > 0) { + app_obj) > 0) { return; } else { WIFI_LOG_ERR("idler_util_managed_idle_add() is failed."); diff --git a/sources/wearable/src/wearable-circle/view/layout_wearable_input.c b/sources/wearable/src/wearable-circle/view/layout_wearable_input.c index 5bc23ce..68631e8 100755 --- a/sources/wearable/src/wearable-circle/view/layout_wearable_input.c +++ b/sources/wearable/src/wearable-circle/view/layout_wearable_input.c @@ -72,6 +72,7 @@ static void __editfield_state_changed_cb(void *data, Ecore_IMF_Context *ctx, int if (value == ECORE_IMF_INPUT_PANEL_STATE_HIDE) { if (view_base_window_is_focus(input_obj->base)) { WIFI_LOG_INFO("Key pad is now closed by user"); + layout_wearable_input_pop(input_obj); } else { WIFI_LOG_INFO("Key pad is now closed by other window show"); }