mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-26 16:47:30 +00:00
Pause story player in onPause instead of releasing it. Fixes austinhuang0131/barinsta#1060
This commit is contained in:
parent
b3cd83ad31
commit
37edc0171e
@ -275,7 +275,9 @@ public class StoryViewerFragment extends Fragment {
|
|||||||
@Override
|
@Override
|
||||||
public void onPause() {
|
public void onPause() {
|
||||||
super.onPause();
|
super.onPause();
|
||||||
releasePlayer();
|
if (player != null) {
|
||||||
|
player.pause();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user