[TV] Fix build break on TV profile. Remove using keyboard tracker from TV profile. 25/80925/2 accepted/tizen/common/20160721.180119 accepted/tizen/ivi/20160721.092150 accepted/tizen/mobile/20160721.091518 accepted/tizen/mobile/20160721.094214 accepted/tizen/tv/20160721.091615 accepted/tizen/tv/20160721.093925 accepted/tizen/wearable/20160721.091552 accepted/tizen/wearable/20160721.093941 submit/tizen/20160721.025848
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 21 Jul 2016 02:26:31 +0000 (11:26 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 21 Jul 2016 02:54:09 +0000 (11:54 +0900)
Change-Id: I35fb52ec9173f6faffcced9b669f631b81921f8a

src/keyboard_tracker.c
src/main.c

index 21d64a3dc79e74dadd2f462799c83c65bdf2b8a6..f6fc734f4b200af2d065d0e1909caa47b684b0f9 100755 (executable)
@@ -31,7 +31,11 @@ static int keyboardX = 0;
 static int keyboardY = 0;
 static int keyboardW = 0;
 static int keyboardH = 0;
+
+#ifndef SCREEN_READER_TV
 extern AtspiAccessible *top_win;
+#endif
+
 #define E_KEYBOARD_SERVICE_BUS_NAME "org.tizen.keyboard"
 #define E_KEYBOARD_SERVICE_NAVI_IFC_NAME "org.tizen.KBGestureNavigation"
 #define E_KEYBOARD_SERVICE_NAVI_OBJ_PATH "/org/tizen/KBGestureNavigation"
@@ -280,6 +284,7 @@ void keyboard_geometry_get(int *x, int *y, int *width, int *height)
 
 Eina_Bool keyboard_event_status(int x, int y)
 {
+#ifndef SCREEN_READER_TV
        gchar* name = NULL;
        if (prev_keyboard_state == VCONFKEY_ISF_INPUT_PANEL_STATE_SHOW) {
                if (top_win)
@@ -292,6 +297,7 @@ Eina_Bool keyboard_event_status(int x, int y)
                }
                g_free(name);
        }
+#endif
        return EINA_FALSE;
 }
 
index 298f5762435c1e5665629d603188155951a89faa..502a8e1c351799199c0ba9e598ce50c461b426e3 100644 (file)
@@ -221,8 +221,8 @@ static int app_create(void *data)
 #ifndef SCREEN_READER_TV
        //screen_reader_gestures_init();
        navigator_init();
-#endif
        keyboard_tracker_init();
+#endif
        screen_reader_switch_enabled_set(EINA_TRUE);
        screen_reader_switch_wm_enabled_set(EINA_TRUE);
        return 0;
@@ -236,8 +236,9 @@ static int app_terminate(void *data)
        navigator_shutdown();
        DEBUG("terminate gestures");
        //screen_reader_gestures_shutdown();
-#endif
+       DEBUG("terminate keyboard tracker");
        keyboard_tracker_shutdown();
+#endif
        DEBUG("terminate service");
        screen_reader_terminate_service(data);
        DEBUG("clear ScreenReaderEnabled property");