From 6393f848c8202f94d7f486d70a4e676c44739f6d Mon Sep 17 00:00:00 2001 From: DotnetBuild Date: Wed, 20 Sep 2017 00:00:11 +0900 Subject: [PATCH] Release 4.0.0-preview1-00224 --- packaging/csapi-tizenfx.spec | 4 ++-- src/ElmSharp/Interop/Interop.Elementary.Image.cs | 2 ++ src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs | 2 ++ .../Tizen.Applications.Notifications/NotificationActiveStyle.cs | 1 + .../Tizen.Applications.Notifications/NotificationProgress.cs | 2 ++ .../StreamRecorder/StreamRecorderAudioOptions.cs | 5 +++++ 6 files changed, 14 insertions(+), 2 deletions(-) mode change 100755 => 100644 src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs mode change 100755 => 100644 src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationActiveStyle.cs mode change 100755 => 100644 src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationProgress.cs diff --git a/packaging/csapi-tizenfx.spec b/packaging/csapi-tizenfx.spec index 2e7b536..025edaf 100644 --- a/packaging/csapi-tizenfx.spec +++ b/packaging/csapi-tizenfx.spec @@ -7,7 +7,7 @@ Name: csapi-tizenfx Summary: Assemblies of Tizen .NET -Version: 4.0.0.221 +Version: 4.0.0.224 Release: 1 Group: Development/Libraries License: Apache-2.0 @@ -132,7 +132,7 @@ rm -fr %{_tizenfx_bin_path} export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true ./build.sh --full ./build.sh --dummy -./build.sh --pack 4.0.0-preview1-00221 +./build.sh --pack 4.0.0-preview1-00224 %install mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH} diff --git a/src/ElmSharp/Interop/Interop.Elementary.Image.cs b/src/ElmSharp/Interop/Interop.Elementary.Image.cs index c49ff92..860e9fd 100644 --- a/src/ElmSharp/Interop/Interop.Elementary.Image.cs +++ b/src/ElmSharp/Interop/Interop.Elementary.Image.cs @@ -89,12 +89,14 @@ internal static partial class Interop internal static extern void elm_image_animated_set(IntPtr obj, bool anim); [DllImport(Libraries.Elementary)] + [return : MarshalAs(UnmanagedType.U1)] internal static extern bool elm_image_animated_get(IntPtr obj); [DllImport(Libraries.Elementary)] internal static extern void elm_image_animated_play_set(IntPtr obj, bool play); [DllImport(Libraries.Elementary)] + [return: MarshalAs(UnmanagedType.U1)] internal static extern bool elm_image_animated_play_get(IntPtr obj); [DllImport(Libraries.Elementary)] diff --git a/src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs b/src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs old mode 100755 new mode 100644 index 6fc0ebc..7175867 --- a/src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs +++ b/src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs @@ -14,6 +14,8 @@ * limitations under the License. */ +using System; + namespace Tizen.Applications { /// diff --git a/src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationActiveStyle.cs b/src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationActiveStyle.cs old mode 100755 new mode 100644 index 66a7163..841eb63 --- a/src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationActiveStyle.cs +++ b/src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationActiveStyle.cs @@ -16,6 +16,7 @@ namespace Tizen.Applications.Notifications { + using System; using System.Collections.Generic; /// diff --git a/src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationProgress.cs b/src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationProgress.cs old mode 100755 new mode 100644 index a124d42..e41724a --- a/src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationProgress.cs +++ b/src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationProgress.cs @@ -16,6 +16,8 @@ namespace Tizen.Applications.Notifications { + using System; + /// /// This class contains common properties and methods of notifications. /// diff --git a/src/Tizen.Multimedia.StreamRecorder/StreamRecorder/StreamRecorderAudioOptions.cs b/src/Tizen.Multimedia.StreamRecorder/StreamRecorder/StreamRecorderAudioOptions.cs index 911cf34..3aabb7d 100644 --- a/src/Tizen.Multimedia.StreamRecorder/StreamRecorder/StreamRecorderAudioOptions.cs +++ b/src/Tizen.Multimedia.StreamRecorder/StreamRecorder/StreamRecorderAudioOptions.cs @@ -83,6 +83,11 @@ namespace Tizen.Multimedia { ValidationUtil.ValidateEnum(typeof(RecorderAudioCodec), value, nameof(value)); + if (value == RecorderAudioCodec.None) + { + throw new ArgumentException("Audio codec can't be None."); + } + _codec = value; } } -- 2.7.4