mirror of
https://github.com/etesync/android
synced 2024-12-23 07:08:16 +00:00
SyncAdapter: fix crash when syncing empty accounts.
This commit is contained in:
parent
2eeee1214f
commit
b11ece37d5
@ -270,7 +270,9 @@ abstract class SyncAdapterService : Service() {
|
||||
|
||||
stoken = colList.stoken
|
||||
done = colList.isDone
|
||||
etebaseLocalCache.saveStoken(stoken!!)
|
||||
if (stoken != null) {
|
||||
etebaseLocalCache.saveStoken(stoken)
|
||||
}
|
||||
}
|
||||
collectionLastFetchMap[account.name] = now
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user