Fixed folder states

This commit is contained in:
M66B
2019-02-27 19:55:33 +00:00
parent e970e54b6a
commit 794e05df64
6 changed files with 34 additions and 14 deletions

View File

@@ -306,6 +306,9 @@ public class ServiceUI extends IntentService {
}
public static void sync(Context context, long folder) {
DB db = DB.getInstance(context);
db.folder().setFolderSyncState(folder, "requested");
context.startService(
new Intent(context, ServiceUI.class)
.setAction("synchronize:" + folder));