mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Explicitly pause video player when not focused.
This commit is contained in:
committed by
Clark Chen
parent
1eabf11cdb
commit
d52c520c02
@@ -147,6 +147,7 @@ class VideoEditorFragment : Fragment(), PositionDragListener, MediaSendPageFragm
|
||||
}
|
||||
} else {
|
||||
stopPositionUpdates()
|
||||
player.pause()
|
||||
}
|
||||
}
|
||||
isFocused = currentlyFocused
|
||||
|
||||
Reference in New Issue
Block a user