File tree 1 file changed +4
-4
lines changed
app/src/main/kotlin/at/bitfire/davdroid/repository
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ import java.util.logging.Logger
20
20
import javax.inject.Inject
21
21
22
22
/* *
23
- * Collection change listener that enqueues a push registration worker when the collection list changes.
23
+ * Enqueues a sync worker after a short delay when the collection list changes.
24
24
*/
25
- class CollectionsChangeListener @Inject constructor(
25
+ class SyncOnCollectionsChangeListener @Inject constructor(
26
26
private val workerManager : SyncWorkerManager ,
27
27
private val logger : Logger
28
28
): DavCollectionRepository.OnChangeListener {
@@ -45,14 +45,14 @@ class CollectionsChangeListener @Inject constructor(
45
45
46
46
47
47
/* *
48
- * Hilt module that registers [CollectionsChangeListener ] in [DavCollectionRepository].
48
+ * Hilt module that registers [SyncOnCollectionsChangeListener ] in [DavCollectionRepository].
49
49
*/
50
50
@Module
51
51
@InstallIn(SingletonComponent ::class )
52
52
interface CollectionsListenerModule {
53
53
@Binds
54
54
@IntoSet
55
- fun listener (impl : CollectionsChangeListener ): DavCollectionRepository .OnChangeListener
55
+ fun listener (impl : SyncOnCollectionsChangeListener ): DavCollectionRepository .OnChangeListener
56
56
}
57
57
58
58
}
You can’t perform that action at this time.
0 commit comments