[Tizen.Security] Deprecate GetPrivacyDisplayName() (#5148)
authoryl33 <31228316+yl33@users.noreply.github.com>
Tue, 11 Apr 2023 03:44:54 +0000 (12:44 +0900)
committerGitHub <noreply@github.com>
Tue, 11 Apr 2023 03:44:54 +0000 (05:44 +0200)
src/Tizen.Security/Tizen.Security/Privilege.cs

index fda3d00..157f7b8 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- *  Copyright (c) 2016-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *  Copyright (c) 2016-2023 Samsung Electronics Co., Ltd All Rights Reserved
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -153,6 +153,7 @@ namespace Tizen.Security
         /// <exception cref="System.OutOfMemoryException">Thrown when out of memory occurs.</exception>
         /// <exception cref="System.InvalidOperationException">Thrown when an internal error occurs.</exception>
         /// <exception cref="System.NotSupportedException">The required feature is not supported.</exception>
+        [Obsolete("Deprecated since API level 11.")]
         public static string GetPrivacyDisplayName(string privilege)
         {
             string displayName;