1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

Cache the message subject in a localMessage, rather than roundtripping through a MIME message

This commit is contained in:
Jesse Vincent 2009-12-01 13:45:28 +00:00
parent e354ba17b6
commit bd09b880e9

View File

@ -2083,6 +2083,30 @@ public class LocalStore extends Store implements Serializable
{
private long mId;
private int mAttachmentCount;
private String mSubject;
@Override
public String getSubject() throws MessagingException
{
if (mSubject != null)
{
return mSubject;
}
else
{
return super.getSubject();
}
}
@Override
public void setSubject(String subject) throws MessagingException
{
mSubject = subject;
super.setSubject(subject);
}
public LocalMessage()
{