kopia lustrzana https://github.com/ryukoposting/Signal-Android
Ensure content is stopped during video player cleanup.
rodzic
91f0b75a80
commit
94f072c5aa
|
@ -234,6 +234,8 @@ public class VideoPlayer extends FrameLayout {
|
|||
}
|
||||
|
||||
public void cleanup() {
|
||||
stop();
|
||||
|
||||
if (this.exoPlayer != null) {
|
||||
exoView.setPlayer(null);
|
||||
exoControls.setPlayer(null);
|
||||
|
|
Ładowanie…
Reference in New Issue