gecko-dev/mobile/android/services
Grigory Kruglov 68882a5021 Bug 1335198 - Add support for synchronizing bookmark creation date r=rnewman
Incoming records might be missing the dateAdded field, and so we perform some pre-processing:
- during reconciliation, dateAdded is set to the lowest of (remote lastModified, remote dateAdded, local dateAdded)
- during insertion, if dateAdded is missing it is set to lastModified

Whenever we modify dateAdded for a record during sync, we also bump its lastModified value. This will trigger an
upload of this record, and consequently a re-upload by clients which are able to provide an older dateAdded value.
It is possible that this might cause conflicts on other devices, but the expected likelyhood of that happening is low.


MozReview-Commit-ID: 3tDeXKSBgrO

--HG--
extra : rebase_source : 26cb13838df7a4adb6d4fe3c51f0ecf3fd2eda95
2017-04-18 18:04:45 -04:00
..
manifests Bug 1245791 - Part 1: Start FxAccountDeletedService directly, not through an intent r=nalexander 2016-07-07 11:32:52 -07:00
src/main Bug 1335198 - Add support for synchronizing bookmark creation date r=rnewman 2017-04-18 18:04:45 -04:00
README.txt
strings.xml.in Bug 1325264 - Update wording of 'disconnect from sync' dialog. r=Grisha 2017-01-27 18:11:44 +01:00

README.txt

These files are managed in the android-sync repo. Do not modify directly, or your changes will be lost.