Fix remote input to work in only TV profile
[platform/core/uifw/isf.git] / ism / extras / efl_panel / isf_panel_efl.cpp
index 7afc599..280b0fe 100644 (file)
@@ -7780,18 +7780,18 @@ int main (int argc, char *argv [])
          LOGW ("bt_hid_host_initialize failed");
 #endif
 
-#if ENABLE_REMOTE_INPUT
-    launch_remote_input = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_LAUNCH_REMOTE_INPUT), launch_remote_input);
+    if (_TV) {
+        launch_remote_input = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_LAUNCH_REMOTE_INPUT), launch_remote_input);
 
-     /* Create remote input */
-    if (launch_remote_input) {
-         LOGD("remote input start");
-         remote_input_impl = new Remote_Input();
-         if (remote_input_impl) {
-             remote_input_impl->init(_info_manager);
-         }
+         /* Create remote input */
+        if (launch_remote_input) {
+             LOGD("remote input start");
+             remote_input_impl = new Remote_Input();
+             if (remote_input_impl) {
+                 remote_input_impl->init(_info_manager);
+             }
+        }
     }
-#endif
 
 #if ISF_BUILD_CANDIDATE_UI
     _system_scale = elm_config_scale_get ();