From e53d623b9b92da42eaf3d3d2b5fc4592f55a4391 Mon Sep 17 00:00:00 2001 From: WonYoung Choi Date: Thu, 14 Jul 2016 16:35:12 +0900 Subject: [PATCH] Fix to use Color.GetArgb() instead of Color.Argb property The property Color.Argb changed to the method Color.GetArgb() because the Color can be a default state. Change-Id: I9212c2ff57dc0e09daa4986403a1fc2a0fb6cce8 --- Tizen.System/Device/Led.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tizen.System/Device/Led.cs b/Tizen.System/Device/Led.cs index 5eb0f5a..2df3ae1 100755 --- a/Tizen.System/Device/Led.cs +++ b/Tizen.System/Device/Led.cs @@ -59,7 +59,7 @@ namespace Tizen.System public static void Play(int on, int off, Color color) { //looks like only blink option is supported. So hard coded to default blink option. - DeviceError res = (DeviceError)Interop.Device.DeviceLedPlayCustom(on, off, Convert.ToUInt32(color.Argb), 1); + DeviceError res = (DeviceError)Interop.Device.DeviceLedPlayCustom(on, off, Convert.ToUInt32(color.GetArgb()), 1); if (res != DeviceError.None) { throw DeviceExceptionFactory.CreateException(res, "failed to play Led."); -- 2.34.1