From fbb7263121923cd30d52ac4a35c4309b0a618ddb Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Sun, 27 Sep 2009 10:18:31 -0700 Subject: [PATCH] add new column "real_date" for IM messages table. Change-Id: I5c4b3da0843ff0205c2aff5f89639aba47a84e3b --- core/java/android/provider/Im.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/core/java/android/provider/Im.java b/core/java/android/provider/Im.java index d5cc22070bc80..d3e2820d59264 100644 --- a/core/java/android/provider/Im.java +++ b/core/java/android/provider/Im.java @@ -896,11 +896,20 @@ public class Im { String BODY = "body"; /** - * The date this message is sent or received + * The date this message is sent or received. This represents the display date for + * the message. *

Type: INTEGER

*/ String DATE = "date"; + /** + * The real date for this message. While 'date' can be modified by the client + * to account for server time skew, the real_date is the original timestamp set + * by the server for incoming messages. + *

Type: INTEGER

+ */ + String REAL_DATE = "real_date"; + /** * Message Type, see {@link MessageType} *

Type: INTEGER