[android-components](../index.md) / [mozilla.components.feature.sync](index.md) / [setLastSynced](./set-last-synced.md)

# setLastSynced

`fun setLastSynced(context: `[`Context`](https://developer.android.com/reference/android/content/Context.html)`, ts: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/sync/src/main/java/mozilla/components/feature/sync/WorkManagerSyncDispatcher.kt#L261)