From: Eunki Hong Date: Sat, 10 Dec 2022 11:31:16 +0000 (+0900) Subject: [Tizen] Remove keylogging for security X-Git-Tag: accepted/tizen/7.0/unified/20221228.170442~8^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=1dad011a3057b153c955bbe91541c91406f1328a;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git [Tizen] Remove keylogging for security Remove keylogging action in tizen Change-Id: Ife872a70b61b10306ef04871b44062fbdee6a0c9 Signed-off-by: Eunki Hong --- diff --git a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp index e7c868b..b405eac 100644 --- a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp +++ b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp @@ -1201,14 +1201,7 @@ void WindowBaseEcoreWl2::OnKeyDown(void* data, int type, void* event) std::string keyString(""); std::string compose(""); -#ifdef TRACE_ENABLED - std::ostringstream stream; - if(gTraceFilter->IsTraceEnabled()) - { - stream << "DALI_ON_KEY_DOWN [" << keyName << "]"; - DALI_TRACE_BEGIN(gTraceFilter, stream.str().c_str()); - } -#endif + DALI_TRACE_BEGIN(gTraceFilter, "DALI_ON_KEY_DOWN"); // Ensure key compose string is not NULL as keys like SHIFT or arrow have a null string. if(keyEvent->compose) @@ -1257,12 +1250,7 @@ void WindowBaseEcoreWl2::OnKeyDown(void* data, int type, void* event) mKeyEventSignal.Emit(keyEvent); -#ifdef TRACE_ENABLED - if(gTraceFilter->IsTraceEnabled()) - { - DALI_TRACE_END(gTraceFilter, stream.str().c_str()); - } -#endif + DALI_TRACE_END(gTraceFilter, "DALI_ON_KEY_DOWN"); } } @@ -1286,14 +1274,7 @@ void WindowBaseEcoreWl2::OnKeyUp(void* data, int type, void* event) std::string keyString(""); std::string compose(""); -#ifdef TRACE_ENABLED - std::ostringstream stream; - if(gTraceFilter->IsTraceEnabled()) - { - stream << "DALI_ON_KEY_UP [" << keyName << "]"; - DALI_TRACE_BEGIN(gTraceFilter, stream.str().c_str()); - } -#endif + DALI_TRACE_BEGIN(gTraceFilter, "DALI_ON_KEY_UP"); // Ensure key compose string is not NULL as keys like SHIFT or arrow have a null string. if(keyEvent->compose) @@ -1342,12 +1323,7 @@ void WindowBaseEcoreWl2::OnKeyUp(void* data, int type, void* event) mKeyEventSignal.Emit(keyEvent); -#ifdef TRACE_ENABLED - if(gTraceFilter->IsTraceEnabled()) - { - DALI_TRACE_END(gTraceFilter, stream.str().c_str()); - } -#endif + DALI_TRACE_END(gTraceFilter, "DALI_ON_KEY_UP"); } }