mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-02 08:35:08 -04:00
Merge pull request #103 from andrewgaul/long-npe
Avoid NPE in getOldestMessageDate
This commit is contained in:
commit
f7d0f6090b
@ -2812,7 +2812,7 @@ public class LocalStore extends Store implements Serializable {
|
||||
mLastUid = lastUid;
|
||||
}
|
||||
|
||||
public long getOldestMessageDate() throws MessagingException {
|
||||
public Long getOldestMessageDate() throws MessagingException {
|
||||
return database.execute(false, new DbCallback<Long>() {
|
||||
@Override
|
||||
public Long doDbWork(final SQLiteDatabase db) {
|
||||
|
Loading…
Reference in New Issue
Block a user