removing google play background task starting, we should rely on play services

This commit is contained in:
Adam Brown 2021-10-28 14:06:19 +01:00
parent a6eadfe894
commit c173adb783

View file

@ -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
}
}