Change-Id: Ia967ba7a3828caf7e9a506de435dee7bc6ae8c73
Signed-off-by: minho.sun <minho.sun@samsung.com>
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<AppControlReceivedEventArgs>;
- handler?.Invoke();
- */
+ var handler = Handlers[EventType.AppControlReceived] as Action<AppControlReceivedEventArgs>;\r
+ SafeAppControlHandle handle = new SafeAppControlHandle(e.VoidP,false);\r
+ handler?.Invoke( new AppControlReceivedEventArgs(new ReceivedAppControl(handle)) );
}
/// <summary>