mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Move mms and security checks into ViewModel/Repository.
This commit is contained in:
committed by
Cody Henthorne
parent
c5f4a9c89e
commit
b696a0f758
@@ -26,6 +26,10 @@ class LifecycleDisposable : DefaultLifecycleObserver {
|
||||
return this
|
||||
}
|
||||
|
||||
fun clear() {
|
||||
disposables.clear()
|
||||
}
|
||||
|
||||
override fun onDestroy(owner: LifecycleOwner) {
|
||||
owner.lifecycle.removeObserver(this)
|
||||
disposables.clear()
|
||||
|
||||
Reference in New Issue
Block a user