Tie CallLogViewModel lifecycle to the activity.

This commit is contained in:
Alex Hart
2023-09-25 14:42:23 -03:00
committed by Cody Henthorne
parent e5e86e639a
commit e7b18bd3a2
3 changed files with 28 additions and 5 deletions

View File

@@ -8,7 +8,6 @@ import androidx.lifecycle.LifecycleOwner
import org.signal.core.util.logging.Log
import org.thoughtcrime.securesms.util.Util
import java.util.concurrent.TimeUnit
import kotlin.math.max
/**
* Lifecycle-aware class which will call onTick every 1 minute.