0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00
Anki-Android/AnkiDroid
Arthur Milchior 25d7246251 Notify the UI that a sync was done
In this case, I really don't think it's realistic to expect an
OpChange from the backend. The backend already sends informations that
are relevant for the sync process. Given that "sync" does not uses the
processes uses for undoable change (indeed, it should not be
undoable), no OpChange is generated.

It seems reasonable in this place at least to directly notify the
observers.

Given that the observers expect an OpChanges, I create one, and simply
assume everything may be changed. This seems reasonable in case of
sync, and it's sufficiently rare that the cost won't be prohibitive
anyway.

Fixed: #16943
Fixed: #16942
2024-09-03 04:59:41 +00:00
..
src Notify the UI that a sync was done 2024-09-03 04:59:41 +00:00
.gitignore
build.gradle remove scoped storage migration 2024-08-28 19:22:01 +00:00
jacoco.gradle Implement release mode instrumentation with better proguard rules 2024-06-26 15:58:07 +00:00
proguard-rules.pro Implement release mode instrumentation with better proguard rules 2024-06-26 15:58:07 +00:00
proguard-test-rules.pro Implement release mode instrumentation with better proguard rules 2024-06-26 15:58:07 +00:00
robolectricDownloader.gradle Dependency updates 20231130 (#14855) 2023-11-30 16:01:31 -05:00