forked from mirror/monocles_chat_clean
Directly play video
This commit is contained in:
parent
cf693553ae
commit
7005813ecc
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ public class MediaViewerActivity extends XmppActivity implements AudioManager.On
|
||||||
|
|
||||||
private void pausePlayer() {
|
private void pausePlayer() {
|
||||||
if (player != null && isVideo && isPlaying()) {
|
if (player != null && isVideo && isPlaying()) {
|
||||||
player.setPlayWhenReady(false);
|
player.setPlayWhenReady(true);
|
||||||
player.getPlaybackState();
|
player.getPlaybackState();
|
||||||
if (Compatibility.runsTwentyFour() && isInPictureInPictureMode()) {
|
if (Compatibility.runsTwentyFour() && isInPictureInPictureMode()) {
|
||||||
hideFAB();
|
hideFAB();
|
||||||
|
|
Loading…
Add table
Reference in a new issue