From: minho.sun Date: Mon, 14 Aug 2017 06:46:47 +0000 (+0900) Subject: [Tizen] Make AppControl signal work X-Git-Tag: accepted/tizen/4.0/unified/20170828.223314^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f9dc8ae17509f9b1dcd1fd70bc45757b30e0514;p=platform%2Fcore%2Fcsapi%2Fnui.git [Tizen] Make AppControl signal work Change-Id: Ia967ba7a3828caf7e9a506de435dee7bc6ae8c73 Signed-off-by: minho.sun --- diff --git a/Tizen.NUI/src/internal/NUICoreBackend.cs b/Tizen.NUI/src/internal/NUICoreBackend.cs index 05744b8..7aa0e00 100755 --- a/Tizen.NUI/src/internal/NUICoreBackend.cs +++ b/Tizen.NUI/src/internal/NUICoreBackend.cs @@ -221,10 +221,9 @@ namespace Tizen.NUI private void OnAppControl(object source, NUIApplicationAppControlEventArgs e) { Log.Debug("NUI", "NUICorebackend OnAppControl Called"); - /* can invoke after making new api which getting control handle at application. - var handler = Handlers[EventType.AppControlReceived] as Action; - handler?.Invoke(); - */ + var handler = Handlers[EventType.AppControlReceived] as Action; + SafeAppControlHandle handle = new SafeAppControlHandle(e.VoidP,false); + handler?.Invoke( new AppControlReceivedEventArgs(new ReceivedAppControl(handle)) ); } ///