1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Update issue 1623

Don't export the formatted date through the content provider: now exported as the raw Epoch value - date formatting is a UI concern. That makes MessageInfoHolder lighter.
This commit is contained in:
Fiouz 2010-10-05 22:33:20 +00:00
parent 58c80ad096
commit 548e6e7c77
3 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,6 @@ public class MessageInfoHolder
{
public String subject;
public String date;
public String fullDate;
public Date compareDate;
public String compareSubject;
public CharSequence sender;

View File

@ -113,7 +113,6 @@ public class MessageHelper
target.message = m;
target.preview = message.getPreview();
target.fullDate = mDateFormat.format(date) + " " + mTimeFormat.format(date);
target.account = account.getDescription();
target.uri = "email://messages/" + account.getAccountNumber() + "/" + m.getFolder().getName() + "/" + m.getUid();

View File

@ -124,7 +124,7 @@ public class MessageProvider extends ContentProvider
cursor.addRow(new Object[]
{
id,
holder.fullDate,
message.getSentDate().getTime(),
holder.sender,
holder.subject,
holder.preview,