Avoid NPE in getOldestMessageDate
Caused by autounboxing a possibly null Long into a long.
This commit is contained in:
parent
d6acb09988
commit
057b316bcb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue