From 0c4ef00d45f45d7a67840969c564ff4c4dbc6dc4 Mon Sep 17 00:00:00 2001 From: Aleksandr Sapozhnik Date: Tue, 8 Dec 2015 16:36:12 +0200 Subject: [PATCH] Commented source code that use minicontrol_create_window. The function crashes the application. Change-Id: I77670475023fe27ab4428938dd932eb8695cb9d6 Signed-off-by: Aleksandr Sapozhnik --- src/callui-view-quickpanel.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/callui-view-quickpanel.c b/src/callui-view-quickpanel.c index 404c084..9666682 100755 --- a/src/callui-view-quickpanel.c +++ b/src/callui-view-quickpanel.c @@ -516,16 +516,22 @@ static void __callui_view_qp_provider_cb(minicontrol_viewer_event_e event_type, static Evas_Object *__callui_view_qp_create_window(callui_app_data_t *priv) { - Evas_Object *win; - win = minicontrol_create_window("org.tizen.call-ui", MINICONTROL_TARGET_VIEWER_QUICK_PANEL, __callui_view_qp_provider_cb); + dbg("..."); + Evas_Object *win = NULL; + + /* TODO uncomment when crash in minicontrol_create_window will be fixed. */ + /* https://bugs.tizen.org/jira/browse/TM-146 */ + + /* win = minicontrol_create_window("org.tizen.call-ui", MINICONTROL_TARGET_VIEWER_QUICK_PANEL, __callui_view_qp_provider_cb); elm_win_alpha_set(win, EINA_TRUE); evas_object_resize(win, ELM_SCALE_SIZE(MAIN_SCREEN_BIG_W), ELM_SCALE_SIZE(QP_WIN_H)); if (elm_win_wm_rotation_supported_get(win)) { int rotate_angles[3] = {0, 90, 270}; /*Set the required angles wherein the rotation has to be supported*/ - elm_win_wm_rotation_available_rotations_set(win, rotate_angles, 3); - } + /* elm_win_wm_rotation_available_rotations_set(win, rotate_angles, 3); + } */ + return win; } -- 2.7.4