From f041fbf3ea5d435b2d4416ceb0ddb59089f7fc0b Mon Sep 17 00:00:00 2001 From: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:48:07 +0900 Subject: [PATCH] [NUI] Remove the legacy AccessibilityActivate code (#6223) - `CSharp_Dali_ViewImpl_AccessibilityActivate` was removed in 2018 lol However, at that time, NUI codes couldn't be removed together (Not sure) - The reason `ViewImpl_AccessibilityActivate` was removed is `Remove functions which using internal apis Some binding functions use internal apis. It caused error when dlopen csharp binder.` - User can use Activated event with `View.AccessibilityActivated` Signed-off-by: Seoyeon Kim --- src/Tizen.NUI/src/internal/Common/ViewImpl.cs | 12 ------------ src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs | 3 --- 2 files changed, 15 deletions(-) diff --git a/src/Tizen.NUI/src/internal/Common/ViewImpl.cs b/src/Tizen.NUI/src/internal/Common/ViewImpl.cs index c8dc198..1c78673 100755 --- a/src/Tizen.NUI/src/internal/Common/ViewImpl.cs +++ b/src/Tizen.NUI/src/internal/Common/ViewImpl.cs @@ -184,18 +184,6 @@ namespace Tizen.NUI /// Do not use this, that will be deprecated. [Obsolete("Do not use this, that will be deprecated.")] [EditorBrowsable(EditorBrowsableState.Never)] - public void AccessibilityActivate() - { - Interop.ViewImpl.AccessibilityActivate(SwigCPtr); - if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - } - - /// - /// [Obsolete("Do not use this, that will be deprecated.")] - /// - /// Do not use this, that will be deprecated. - [Obsolete("Do not use this, that will be deprecated.")] - [EditorBrowsable(EditorBrowsableState.Never)] public void KeyboardEnter() { Interop.ViewImpl.KeyboardEnter(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs index cd6b360..bfc1227 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs @@ -85,9 +85,6 @@ namespace Tizen.NUI [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)] public static extern bool IsKeyboardFocusGroup(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_AccessibilityActivate")] - public static extern void AccessibilityActivate(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ViewImpl_KeyboardEnter")] public static extern void KeyboardEnter(global::System.Runtime.InteropServices.HandleRef jarg1); -- 2.7.4