diff --git a/src/Tizen.NUI/src/public/Application/NUIApplication.cs b/src/Tizen.NUI/src/public/Application/NUIApplication.cs index 67525ace359..b63fab53542 100755 --- a/src/Tizen.NUI/src/public/Application/NUIApplication.cs +++ b/src/Tizen.NUI/src/public/Application/NUIApplication.cs @@ -523,7 +523,6 @@ public override void Run(string[] args) Backend.AddEventHandler(EventType.PreCreated, OnPreCreate); Backend.AddEventHandler(EventType.Resumed, OnResume); Backend.AddEventHandler(EventType.Paused, OnPause); - Backend.AddEventHandler(EventType.AppControlReceived, OnAppControlReceived); base.Run(args); } diff --git a/src/Tizen.NUI/src/public/WebView/WebView.cs b/src/Tizen.NUI/src/public/WebView/WebView.cs index aff44926620..91c9ca08cd2 100755 --- a/src/Tizen.NUI/src/public/WebView/WebView.cs +++ b/src/Tizen.NUI/src/public/WebView/WebView.cs @@ -1142,7 +1142,7 @@ public event EventHandler DeviceConnect if (deviceConnectionChangedEventHandler == null) { IntPtr ip = IntPtr.Zero; - Interop.WebView.RegisterUserMediaPermissionRequestCallback(SwigCPtr, new HandleRef(this, ip)); + Interop.WebView.RegisterDeviceConnectionChangedCallback(SwigCPtr, new HandleRef(this, ip)); } } } @@ -1151,9 +1151,7 @@ public event EventHandler DeviceConnect public void SetDeviceListGetCallback(WebViewDeviceListGetCallback callback) { deviceListGetCallbackForUser = callback; - - internalWebViewDeviceListGetCallback cb = deviceListGet; - IntPtr ip = Marshal.GetFunctionPointerForDelegate(cb); + IntPtr ip = Marshal.GetFunctionPointerForDelegate((internalWebViewDeviceListGetCallback)deviceListGet); Interop.WebView.RegisterDeviceListGetCallback(SwigCPtr, new HandleRef(this, ip)); }