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
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
releasePlayer();
|
||||
if (player != null) {
|
||||
player.pause();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user