assertm_if(NULL == ad->conformant, "conformant is NULL!!");
elm_win_conformant_set(ad->win, EINA_TRUE);
elm_win_resize_object_add(ad->win, ad->conformant);
- evas_object_size_hint_weight_set(ad->conformant, EVAS_HINT_EXPAND, 0.0);
+ evas_object_size_hint_weight_set(ad->conformant, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(ad->conformant, EVAS_HINT_FILL, 0.0);
evas_object_show(ad->conformant);
wfd_app_util_del_notification(ad);
ret = wfd_app_util_deregister_vconf_callbacks(ad);
- if (ret < 0) {
+ if (ret < 0)
WFD_APP_LOG(WFD_APP_LOG_ERROR, "Failed to register vconf notification");
- }
/* Deregister Hardkey CB */
wfd_app_util_deregister_hard_key_down_cb(ad);
/* Deinitializes feedback API */
ret = feedback_deinitialize();
- if (ret != FEEDBACK_ERROR_NONE) {
+ if (ret != FEEDBACK_ERROR_NONE)
WFD_APP_LOG(WFD_APP_LOG_ERROR, "feedback_deinitialize error : %d\n", ret);
- }
+
if (ad->transmit_timer) {
ecore_timer_del(ad->transmit_timer);
ad->transmit_timer = NULL;
wfd_destroy_popup();
ret = deinit_wfd_client(ad);
- if (ret < 0) {
+ if (ret < 0)
WFD_APP_LOG(WFD_APP_LOG_ERROR, "deinit_wfd_client error\n");
- }
if (ad->back_grnd) {
evas_object_del(ad->back_grnd);
app_control_set_app_id(ug_control, "setting-wifidirect-efl");
ret = app_control_send_launch_request(ug_control, NULL, NULL);
- if(ret == APP_CONTROL_ERROR_NONE) {
+ if (ret == APP_CONTROL_ERROR_NONE)
WFD_APP_LOG(WFD_APP_LOG_LOW, "Launch Wi-Fi Direct successful");
- } else {
+ else
WFD_APP_LOG(WFD_APP_LOG_ERROR, "Fail to launch Wi-Fi Direct");
- }
+
app_control_destroy(ug_control);
}