removing google play background task starting, we should rely on play services
This commit is contained in:
parent
a6eadfe894
commit
c173adb783
|
@ -108,10 +108,6 @@ object FcmHelper {
|
|||
|
||||
@Suppress("UNUSED_PARAMETER")
|
||||
fun onEnterBackground(context: Context, vectorPreferences: VectorPreferences, activeSessionHolder: ActiveSessionHolder) {
|
||||
val activeSession = activeSessionHolder.getSafeActiveSession() ?: return
|
||||
activeSession.startAutomaticBackgroundSync(
|
||||
vectorPreferences.backgroundSyncTimeOut().toLong(),
|
||||
vectorPreferences.backgroundSyncDelay().toLong()
|
||||
)
|
||||
// No op
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue