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)
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)
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)) {