From: WonYoung Choi Date: Thu, 14 Jul 2016 07:35:12 +0000 (+0900) Subject: Fix to use Color.GetArgb() instead of Color.Argb property X-Git-Tag: submit/tizen/20161214.063015~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e53d623b9b92da42eaf3d3d2b5fc4592f55a4391;p=platform%2Fcore%2Fcsapi%2Fsystem.git 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 --- 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.");