From 50d6272f9daf1824aa66920d4f6debbbd9da1314 Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Wed, 21 Jun 2017 10:43:25 +0900 Subject: [PATCH] Revert "[Tizen] Oring key event callback result" This reverts commit 7ec3e9e9daae451f70eef6699f97693725bfb995. Change-Id: I217aea29442a2ca5ca579da9b6691d2c976e8289 --- Tizen.NUI/src/public/BaseComponents/View.cs | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Tizen.NUI/src/public/BaseComponents/View.cs b/Tizen.NUI/src/public/BaseComponents/View.cs index 08deb3d..9499b4a 100755 --- a/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/Tizen.NUI/src/public/BaseComponents/View.cs @@ -218,24 +218,16 @@ namespace Tizen.NUI.BaseComponents { KeyEventArgs e = new KeyEventArgs(); - bool result = false; - e.Key = Tizen.NUI.Key.GetKeyFromPtr(keyEvent); if (_keyEventHandler != null) { - Delegate[] delegateList = _keyEventHandler.GetInvocationList(); - - // Oring the result of each callback. - foreach ( EventHandlerWithReturnType del in delegateList ) - { - result |= del( this, e ); - } + return _keyEventHandler(this, e); } - - return result; + return false; } + private EventHandler _onRelayoutEventHandler; [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void OnRelayoutEventCallbackType(IntPtr control); -- 2.7.4