Skip to content

Commit

Permalink
Merge branch 'master' into fix-wifi-test-asan-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dh79pyun authored Oct 9, 2024
2 parents 57e1ca1 + a52c0e6 commit 6f74043
Show file tree
Hide file tree
Showing 387 changed files with 4,185 additions and 1,825 deletions.
2 changes: 1 addition & 1 deletion packaging/csapi-tizenfx.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Auto-generated from csapi-tizenfx.spec.in by makespec.sh

%define TIZEN_NET_API_VERSION 12
%define TIZEN_NET_RPM_VERSION 12.0.0.999+nui22340
%define TIZEN_NET_RPM_VERSION 12.0.0.999+nui22342
%define TIZEN_NET_NUGET_VERSION 12.0.0.99999

%define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework
Expand Down
2 changes: 1 addition & 1 deletion packaging/version.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ RPM_VERSION=12.0.0.999
NUGET_VERSION=12.0.0.99999

# RPM Version Suffix
RPM_VERSION_SUFFIX=nui22340
RPM_VERSION_SUFFIX=nui22342
5 changes: 5 additions & 0 deletions src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace Tizen.Applications
/// The class containing common properties of the Badge.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public class Badge
{
private int count = 0;
Expand All @@ -34,6 +35,7 @@ public class Badge
/// <param name="count">Count value</param>
/// <param name="visible">True if it should be displayed</param>
/// <exception cref="ArgumentException">Thrown when failed because of invalid argument</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public Badge(string appId, int count = 1, bool visible = true)
{
if (IsNegativeNumber(count))
Expand All @@ -50,6 +52,7 @@ public Badge(string appId, int count = 1, bool visible = true)
/// </summary>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="ArgumentException">Thrown when set negative number</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public int Count
{
get
Expand All @@ -71,12 +74,14 @@ public int Count
/// Property for the application ID of the badge.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public string AppId { get; set; }

/// <summary>
/// Property for display visibility. True if the badge display visible, otherwise false..
/// </summary>
/// <since_tizen> 4 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public bool Visible{ get; set; }

private bool IsNegativeNumber(int number)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace Tizen.Applications
/// The class for badge operation.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static class BadgeControl
{
private static event EventHandler<BadgeEventArgs> s_changed;
Expand All @@ -37,6 +38,7 @@ public static class BadgeControl
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static event EventHandler<BadgeEventArgs> Changed
{
add
Expand Down Expand Up @@ -88,6 +90,7 @@ public static event EventHandler<BadgeEventArgs> Changed
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static Badge Find(string appId)
{
uint count;
Expand Down Expand Up @@ -119,6 +122,7 @@ public static Badge Find(string appId)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static void Remove(string appId)
{
BadgeError err = Interop.Badge.Remove(appId);
Expand All @@ -139,6 +143,7 @@ public static void Remove(string appId)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static void Remove(Badge badge)
{
if (badge == null)
Expand All @@ -160,6 +165,7 @@ public static void Remove(Badge badge)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static void Add(Badge badge)
{
if (badge == null)
Expand Down Expand Up @@ -195,6 +201,7 @@ public static void Add(Badge badge)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static void Update(Badge badge)
{
if (badge == null)
Expand Down Expand Up @@ -225,6 +232,7 @@ public static void Update(Badge badge)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static IEnumerable<Badge> GetBadges()
{
IList<Badge> list = new List<Badge>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace Tizen.Applications
/// The class for event arguments of the badge event.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public class BadgeEventArgs : EventArgs
{
internal BadgeEventArgs()
Expand All @@ -32,6 +33,7 @@ internal BadgeEventArgs()
/// Enumeration for the badge action.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public enum Action : int
{
/// <summary>
Expand All @@ -54,12 +56,14 @@ public enum Action : int
/// The property for the badge object.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public Badge Badge { get; internal set; }

/// <summary>
/// The property for the action value.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public Action Reason { get; internal set; }
}
}
Loading

0 comments on commit 6f74043

Please sign in to comment.