[Notification] Change TimeStamp of SafeHanlde (#1436)
[platform/core/csapi/tizenfx.git] / src / Tizen.Applications.Notification / Tizen.Applications.Notifications / NotificationBinder.cs
index 2d7eb4b..06870c6 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.Applications.Notifications
 
             Interop.Notification.SetID(notification.Handle, notification.PrivID);
 
-            if (notification.IsDisplay)
+            if (notification.IsVisible)
             {
                 Interop.Notification.SetApplist(notification.Handle, (int)NotificationDisplayApplist.Tray);
             }
@@ -78,7 +78,7 @@ namespace Tizen.Applications.Notifications
             Interop.Notification.GetApplist(notification.Handle, out appList);
             if ((appList & (int)NotificationDisplayApplist.Tray) == 0)
             {
-                notification.IsDisplay = false;
+                notification.IsVisible = false;
             }
 
             BindSafeHandleText(notification);
@@ -198,7 +198,7 @@ namespace Tizen.Applications.Notifications
 
                 if (time != 0)
                 {
-                    notification.TimeStamp = (new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Local)).AddSeconds(time).ToLocalTime();
+                    notification.TimeStamp = (new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).AddSeconds(time).ToLocalTime();
                 }
             }
         }
@@ -230,4 +230,4 @@ namespace Tizen.Applications.Notifications
             }
         }
     }
-}
\ No newline at end of file
+}