File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
android/src/main/kotlin/video/api/flutter/uploader Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import androidx.lifecycle.LifecycleRegistry
20
20
internal class ProxyLifecycleProvider (activity : Activity ) :
21
21
Application .ActivityLifecycleCallbacks , LifecycleOwner {
22
22
@VisibleForTesting
23
- val lifecycle = LifecycleRegistry (this )
23
+ override val lifecycle = LifecycleRegistry (this )
24
24
25
25
private val registrarActivityHashCode: Int = activity.hashCode()
26
26
@@ -71,8 +71,4 @@ internal class ProxyLifecycleProvider(activity: Activity) :
71
71
activity.application.unregisterActivityLifecycleCallbacks(this )
72
72
lifecycle.handleLifecycleEvent(Lifecycle .Event .ON_DESTROY )
73
73
}
74
-
75
- override fun getLifecycle (): Lifecycle {
76
- return lifecycle
77
- }
78
74
}
You can’t perform that action at this time.
0 commit comments