TizenRefApp-4682 Wrong Time Displayed when Adding Call 26/59926/2
authorIgor Olshevskyi <i.olshevskyi@samsung.com>
Fri, 19 Feb 2016 11:04:02 +0000 (13:04 +0200)
committerIgor Olshevskyi <i.olshevskyi@samsung.com>
Fri, 19 Feb 2016 11:17:31 +0000 (13:17 +0200)
Change-Id: I7e1957e4e6e15bed257b841f7c60d47f769ef3f2

src/callui-common.c
src/callui.c

index 1dead6c..f912b19 100755 (executable)
@@ -336,21 +336,21 @@ long _callui_common_get_uptime(void)
 void _callui_common_win_set_noti_type(void *appdata, int bwin_noti)
 {
        dbg("_callui_common_win_set_noti_type");
-       callui_app_data_t *ad = (callui_app_data_t *)appdata;
-
-       Ecore_Wl_Window *win = elm_win_wl_window_get(ad->win);
-       if (bwin_noti == EINA_FALSE) {
-               dbg("window type: NORMAL");
-               /* Set Normal window */
-               ecore_wl_window_type_set(win, ECORE_WL_WINDOW_TYPE_TOPLEVEL);
-       } else {
-               dbg("window type: NOTI-HIGH");
-               /* Set Notification window */
-               ecore_wl_window_type_set(win, ECORE_WL_WINDOW_TYPE_NOTIFICATION);
-               /* Set Notification's priority to LEVEL_HIGH */
-               efl_util_set_notification_window_level(ad->win, EFL_UTIL_NOTIFICATION_LEVEL_TOP);
-       }
-       return;
+       // TODO: commented until functionality of switch window types will be fixed
+//     callui_app_data_t *ad = (callui_app_data_t *)appdata;
+//
+//     Ecore_Wl_Window *win = elm_win_wl_window_get(ad->win);
+//     if (bwin_noti == EINA_FALSE) {
+//             dbg("window type: NORMAL");
+//             /* Set Normal window */
+//             ecore_wl_window_type_set(win, ECORE_WL_WINDOW_TYPE_TOPLEVEL);
+//     } else {
+//             dbg("window type: NOTI-HIGH");
+//             /* Set Notification window */
+//             ecore_wl_window_type_set(win, ECORE_WL_WINDOW_TYPE_NOTIFICATION);
+//             /* Set Notification's priority to LEVEL_HIGH */
+//             efl_util_set_notification_window_level(ad->win, EFL_UTIL_NOTIFICATION_LEVEL_TOP);
+//     }
 }
 
 void _callui_common_get_contact_info(int person_id, call_contact_data_t *ct_info)
index cdf4c99..eaacf54 100755 (executable)
@@ -172,8 +172,6 @@ static void __callui_process_outgoing_call(callui_app_data_t *ad, char *number)
                return;
        }
        ad->waiting_dialing = true;
-       ad->active = __callui_call_data_new(number);
-       return;
 }
 
 static void __callui_call_event_cb(cm_call_event_e call_event, cm_call_event_data_t *call_state_data, void *user_data)
@@ -185,6 +183,7 @@ static void __callui_call_event_cb(cm_call_event_e call_event, cm_call_event_dat
 
        cm_call_event_data_get_sim_slot(call_state_data, &ad->sim_slot);
        ad->waiting_dialing = false;
+
        switch (call_event) {
        case CM_CALL_EVENT_ACTIVE:
                if (_callui_lock_manager_is_lcd_off(ad->lock_handle)) {