merge application code from spin
[platform/core/csapi/tizenfx.git] / Tizen.Applications / Tizen.Applications / AlarmManager.cs
index ad030e4..01f5a8a 100755 (executable)
@@ -185,7 +185,7 @@ namespace Tizen.Applications
             Alarm alarm = null;
             int alarmId;
             Interop.Alarm.DateTime time = ConvertDateTimeToStruct(value);
-            AlarmError ret = (AlarmError)Interop.Alarm.CreateAlarmOnceAtDate(appControl.SafeAppControlHandle, time, out alarmId);
+            AlarmError ret = (AlarmError)Interop.Alarm.CreateAlarmOnceAtDate(appControl.SafeAppControlHandle, ref time, out alarmId);
             alarm = new Alarm(alarmId);
             if (ret != AlarmError.None)
             {
@@ -215,7 +215,7 @@ namespace Tizen.Applications
             Alarm alarm = null;
             int alarmId;
             Interop.Alarm.DateTime time = ConvertDateTimeToStruct(value);
-            AlarmError ret = (AlarmError)Interop.Alarm.CreateAlarmRecurWeek(appControl.SafeAppControlHandle, time, (int)weekFlag, out alarmId);
+            AlarmError ret = (AlarmError)Interop.Alarm.CreateAlarmRecurWeek(appControl.SafeAppControlHandle, ref time, (int)weekFlag, out alarmId);
             alarm = new Alarm(alarmId);
             if (ret != AlarmError.None)
             {