1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-07 23:47:30 +00:00

Pause story player in onPause instead of releasing it. Fixes austinhuang0131/barinsta#1060

This commit is contained in:
Ammar Githam 2021-05-15 13:27:51 +09:00
parent b3cd83ad31
commit 37edc0171e

View File

@ -275,7 +275,9 @@ public class StoryViewerFragment extends Fragment {
@Override
public void onPause() {
super.onPause();
releasePlayer();
if (player != null) {
player.pause();
}
}
@Override