mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 19:05:56 +03:00
removing google play background task starting, we should rely on play services
This commit is contained in:
parent
a6eadfe894
commit
c173adb783
1 changed files with 1 additions and 5 deletions
|
@ -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 a new issue