Commented source code that use minicontrol_create_window. The function crashes the... 73/53673/3
authorAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Tue, 8 Dec 2015 14:36:12 +0000 (16:36 +0200)
committerAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Tue, 8 Dec 2015 14:41:22 +0000 (06:41 -0800)
Change-Id: I77670475023fe27ab4428938dd932eb8695cb9d6
Signed-off-by: Aleksandr Sapozhnik <a.sapozhnik@samsung.com>
src/callui-view-quickpanel.c

index 404c084..9666682 100755 (executable)
@@ -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;
 }