[NUI] Remove the legacy AccessibilityActivate code (#6223)
authorSeoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Tue, 23 Jul 2024 04:48:07 +0000 (13:48 +0900)
committerJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Tue, 23 Jul 2024 05:59:16 +0000 (14:59 +0900)
- `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 <seoyeon2.kim@samsung.com>
src/Tizen.NUI/src/internal/Common/ViewImpl.cs
src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs

index c8dc19854cd5824a99fccb073fea5b0a8f7b208e..1c786732702aa4ee1712e555e260eb6d5a764ddb 100755 (executable)
@@ -178,18 +178,6 @@ namespace Tizen.NUI
             return ret;
         }
 
-        /// <summary>
-        /// [Obsolete("Do not use this, that will be deprecated.")]
-        /// </summary>
-        /// 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();
-        }
-
         /// <summary>
         /// [Obsolete("Do not use this, that will be deprecated.")]
         /// </summary>
index cd6b3609f8480474402fdb6c278520633fb9d339..bfc1227922284b1a0c76eb071f00dac9990f5a24 100755 (executable)
@@ -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);