mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Fix issue where story video does not stop playback when app is backgrounded.
This commit is contained in:
@@ -38,5 +38,6 @@ class StoryVideoLoader(
|
|||||||
|
|
||||||
override fun onPause(lifecycleOwner: LifecycleOwner) {
|
override fun onPause(lifecycleOwner: LifecycleOwner) {
|
||||||
callback.getVideoControlsDelegate()?.detachPlayer()
|
callback.getVideoControlsDelegate()?.detachPlayer()
|
||||||
|
videoPlayer.pause()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user