Reload If outdated before auto sync
This commit is contained in:
@@ -82,6 +82,7 @@ public class KVVSyncAdapter extends AbstractThreadedSyncAdapter {
|
||||
String authority,
|
||||
ContentProviderClient provider,
|
||||
SyncResult syncResult) {
|
||||
mKVV.modules().list().reloadIfOutdated();
|
||||
mQueue.add(() -> {
|
||||
mKVV.modules().list().recv(success -> {
|
||||
Iterator<Modules.Module> iterator = success.latestSemesterIterator();
|
||||
|
||||
Reference in New Issue
Block a user