Change-Id: I7637ba97a14993911b553ca0e3dc55349a84575c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
rm -rf CMakeFiles
rm -rf CMakeCache.txt
-%if "%{profile}" == "wearable"
-CFLAGS+=" -D_WEARABLE";
-CXXFLAGS+=" -D_WEARABLE";
-%endif
-
-%if "%{profile}" == "mobile"
-CFLAGS+=" -D_MOBILE";
-CXXFLAGS+=" -D_MOBILE";
-%endif
-
-%if "%{profile}" == "tv"
-CFLAGS+=" -D_TV";
-CXXFLAGS+=" -D_TV";
-%endif
-
%if %{with wayland}
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -Dwith_wayland=TRUE
%else
m_sounce_enabled = TRUE;
m_vibration_enabled = TRUE;
m_shift_multi_touch_enabled = TRUE;
-#ifdef _TV
- m_highlight_ui_enabled = TRUE;
-#else
m_highlight_ui_enabled = FALSE;
-#endif
m_highlight_ui_animation_enabled = FALSE;
m_tts_enabled = FALSE;
sclboolean
CSCLEvents::process_key_event(const char *key)
{
-#ifndef _TV
- return FALSE;
-#endif
+ CSCLContext *context = CSCLContext::get_instance();
+ if (context && context->get_highlight_ui_enabled())
+ return FALSE;
+
const char *keyname = key;
LOGD("=-=-=-=- key_pressed \n");
CSCLController *controller = CSCLController::get_instance();