static void __bluetooth_remove_all_event(struct bt_popup_appdata *ad);
-static void __bluetooth_set_win_level(Evas_Object *parent);
+//static void __bluetooth_set_win_level(Evas_Object *parent);
static void __popup_terminate(void);
elm_object_style_set(ad->popup, "transparent");
/*set window level to HIGH*/
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
layout = elm_layout_add(ad->popup);
elm_layout_file_set(layout, CUSTOM_POPUP_PATH, "auth_popup");
elm_popup_align_set(ad->popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
/*set window level to HIGH*/
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
#ifdef TIZEN_REDWOOD
elm_object_style_set(ad->popup, "transparent");
ad->popup = passpopup;
/*set window level to HIGH*/
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
elm_object_part_text_set(passpopup, "title,text", title);
elm_popup_align_set(ad->popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
/*set window level to HIGH*/
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
if (title != NULL) {
elm_object_part_text_set(ad->popup, "title,text", title);
ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK, func, ad);
/*set window level to HIGH*/
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
if (title)
elm_object_part_text_set(ad->popup, "title,text", title);
elm_object_part_text_set(ad->popup,"elm.text.content", toast_text);
evas_object_smart_callback_add(ad->popup, "block,clicked", __bluetooth_popup_block_clicked_cb, NULL);
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
evas_object_show(ad->popup);
FN_END;
BT_DBG("+");
}
+/* utilx and ecore_x APIs are unnecessary in Tizen 3.x based on wayland */
+#if 0
static void __bluetooth_set_win_level(Evas_Object *parent)
{
ret_if(!parent);
BT_ERR("elm_win_xwindow_get is failed");
} else {
BT_DBG("Setting window type");
-#if 0
ecore_x_netwm_window_type_set(xwin,
ECORE_X_WINDOW_TYPE_NOTIFICATION);
-#endif
if (vconf_get_int(VCONFKEY_IDLE_LOCK_STATE, &lock_state) != 0) {
BT_ERR("Fail to get the lock_state value");
}
-/*
- Issue: Pairing request pop appears in the Lock screen when DUT is locked
- and observed inconsistency. (TMWC-746)
- In platform image, don't have the additional logic to handle this.
- So just the set notification level as LOW.
-*/
-#if 0
+ /*
+ Issue: Pairing request pop appears in the Lock screen when DUT is locked
+ and observed inconsistency. (TMWC-746)
+ In platform image, don't have the additional logic to handle this.
+ So just the set notification level as LOW.
+ */
if (lock_state == VCONFKEY_IDLE_UNLOCK) {
utilx_set_system_notification_level(ecore_x_display_get(),
xwin, UTILX_NOTIFICATION_LEVEL_HIGH);
} else
utilx_set_system_notification_level(ecore_x_display_get(),
xwin, UTILX_NOTIFICATION_LEVEL_LOW);
-#endif
}
}
+#endif
static Evas_Object *__bluetooth_create_win(const char *name)
{
char *vconf_name = vconf_keynode_get_name(key);
- if (!g_strcmp0(vconf_name, VCONFKEY_IDLE_LOCK_STATE) &&
- ad->popup)
- __bluetooth_set_win_level(ad->popup);
+// if (!g_strcmp0(vconf_name, VCONFKEY_IDLE_LOCK_STATE) &&
+// ad->popup)
+// __bluetooth_set_win_level(ad->popup);
}
static bool __bluetooth_create(void *data)
#include <stdio.h>
#include <dd-display.h>
#include <app.h>
-#include <Ecore_X.h>
#include <vconf.h>
#include <vconf-keys.h>
#include <syspopup.h>
static void __bluetooth_delete_input_view(struct bt_popup_appdata *ad);
static void __bluetooth_win_del(void *data);
-static void __bluetooth_set_win_level(Evas_Object *parent);
+//static void __bluetooth_set_win_level(Evas_Object *parent);
static void __bluetooth_input_keyback_cb(void *data,
Evas *e, Evas_Object *obj, void *event_info);
BT_DBG("-");
}
+/* utilx and ecore_x APIs are unnecessary in Tizen 3.x based on wayland */
+#if 0
static void __bluetooth_set_win_level(Evas_Object *parent)
{
Ecore_X_Window xwin;
BT_ERR("elm_win_xwindow_get is failed");
} else {
BT_DBG("Setting window type");
-#if 0
- ecore_x_netwm_window_type_set(xwin,
- ECORE_X_WINDOW_TYPE_NOTIFICATION);
+ ecore_x_netwm_window_type_set(xwin,
+ ECORE_X_WINDOW_TYPE_NOTIFICATION);
- /* utilx APIs are unnecessary in Tizen 3.x based on wayland */
- utilx_set_system_notification_level(ecore_x_display_get(),
- xwin, UTILX_NOTIFICATION_LEVEL_HIGH);
-#endif
+ utilx_set_system_notification_level(ecore_x_display_get(),
+ xwin, UTILX_NOTIFICATION_LEVEL_HIGH);
}
}
+#endif
static void __lock_display()
{
char *font;
int size;
- __bluetooth_set_win_level(ad->win_main);
+// __bluetooth_set_win_level(ad->win_main);
bg = elm_bg_add(ad->win_main);
evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
ea_popup_back_cb, NULL);
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
txt = elm_entry_utf8_to_markup(text);
elm_object_text_set(ad->popup, txt);
free(txt);
elm_object_part_text_set(ad->popup,"elm.text", toast_text);
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
ecore_event_handler_add(ECORE_EVENT_MOUSE_BUTTON_UP, __bt_toast_mouseup_cb, ad);
ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK, ea_popup_back_cb, NULL);
elm_object_part_text_set(ad->popup,"elm.text", toast_text);
- __bluetooth_set_win_level(ad->popup);
+// __bluetooth_set_win_level(ad->popup);
evas_object_show(ad->popup);
evas_object_show(ad->win_main);