forked from ankidroid/Anki-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: sync collection in the background
aimed only to be used with autosync, so the user can leave the app without having to wait the synchronization to be complete. I combined the SyncMediaWorker into it to use the same notification and reduce noise
- Loading branch information
Showing
7 changed files
with
364 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,5 @@ | |
package com.ichi2.anki.notifications | ||
|
||
object NotificationId { | ||
const val SYNC_MEDIA = 123 | ||
const val SYNC = 123 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
168 changes: 0 additions & 168 deletions
168
AnkiDroid/src/main/java/com/ichi2/anki/worker/SyncMediaWorker.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.