File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
iterableapi/src/main/java/com/iterable/iterableapi Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public class IterableEmbeddedManager: IterableActivityMonitor.AppStateCallback{
5151 }
5252
5353 fun postConstruction () {
54- scheduleSync(autoFetchDuration )
54+ scheduleSync()
5555 }
5656
5757 // endregion
@@ -143,7 +143,7 @@ public class IterableEmbeddedManager: IterableActivityMonitor.AppStateCallback{
143143 IterableLogger .e(TAG , " No payload found in embedded message response" )
144144 }
145145 lastSync = IterableUtil .currentTimeMillis()
146- scheduleSync(autoFetchDuration )
146+ scheduleSync()
147147 }
148148 }
149149
@@ -200,7 +200,7 @@ public class IterableEmbeddedManager: IterableActivityMonitor.AppStateCallback{
200200
201201 // region auto fetch functionality
202202
203- fun scheduleSync (autoFetchDuration : Double ) {
203+ fun scheduleSync () {
204204 IterableLogger .printInfo()
205205 if (autoFetchDuration > 0 ) {
206206 if (canSyncEmbeddedMessages()) {
@@ -273,7 +273,7 @@ public class IterableEmbeddedManager: IterableActivityMonitor.AppStateCallback{
273273 " Duration passed is greater than auto fetch duration. Syncing now... " + (IterableUtil .currentTimeMillis() - lastSync) + " > " + autoFetchDuration * 1000
274274 )
275275 // Check if looper is already running
276- scheduleSync(autoFetchDuration )
276+ scheduleSync()
277277 } else {
278278 IterableLogger .v(
279279 TAG ,
You can’t perform that action at this time.
0 commit comments