Revert "[NUI] Add DeleteAccessibilityAttribute"
authorhuiyu.eun <huiyu.eun@samsung.com>
Thu, 21 Jan 2021 05:24:32 +0000 (14:24 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Tue, 26 Jan 2021 08:27:40 +0000 (17:27 +0900)
This reverts commit d6a57e870b299c228b5ac11d4d2970758906e49c.

src/Tizen.NUI.Components/Controls/Button.Internal.cs
src/Tizen.NUI.Components/Controls/Loading.cs
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs
src/Tizen.NUI/src/public/Accessibility/AccessibilityManager.cs

index ca6dcf3..82ff7a5 100755 (executable)
@@ -362,7 +362,6 @@ namespace Tizen.NUI.Components
 
             if (type == DisposeTypes.Explicit)
             {
-                AccessibilityManager.Instance.DeleteAccessibilityAttribute(this);
                 Extension?.OnDispose(this);
 
                 if (buttonIcon != null)
index f929646..2e192f8 100755 (executable)
@@ -246,7 +246,6 @@ namespace Tizen.NUI.Components
                 //Called by User
                 //Release your own managed resources here.
                 //You should release all of your own disposable objects here.
-                AccessibilityManager.Instance.DeleteAccessibilityAttribute(this);
                 RemoveVisual("loadingImageVisual");
             }
 
index 1300858..90efec2 100755 (executable)
@@ -967,7 +967,6 @@ namespace Tizen.NUI.Components
 
             if (type == DisposeTypes.Explicit)
             {
-                AccessibilityManager.Instance.DeleteAccessibilityAttribute(this);
                 StopOverShootingShadowAnimation();
                 StopScroll();
 
index 91ce4a0..7deba36 100755 (executable)
@@ -20,9 +20,6 @@ namespace Tizen.NUI
             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_SetAccessibilityAttribute")]
             public static extern void SetAccessibilityAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, string jarg4);
 
-            [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_DeleteAccessibilityAttribute")]
-            public static extern void AccessibilityManager_DeleteAccessibilityAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_GetAccessibilityAttribute")]
             public static extern string GetAccessibilityAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3);
 
index 6de9279..4295847 100755 (executable)
@@ -486,18 +486,6 @@ namespace Tizen.NUI.Accessibility
             Interop.AccessibilityManager.SetAccessibilityAttribute(SwigCPtr, View.getCPtr(view), (int)type, text);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
-        
-        /// <summary>
-        /// Delete the information of the specified view's accessibility attribute.
-        /// </summary>
-        /// <param name="view"> The view to delete</param>
-        /// This will be public opened after ACR done. Before ACR, need to be hidden as inhouse API.
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        public void DeleteAccessibilityAttribute(View view)
-        {
-            Interop.AccessibilityManager.AccessibilityManager_DeleteAccessibilityAttribute(SwigCPtr, View.getCPtr(view));
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
 
         /// <summary>
         /// Gets the text of the specified view's accessibility attribute.