Fix double click for pausing and exit fullscreen
This commit is contained in:
parent
824c4e0cbb
commit
852cfee310
|
@ -1074,7 +1074,6 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
||||||
public void onBackPressed() {
|
public void onBackPressed() {
|
||||||
if( player != null && player.isPlaying() && fullScreenMode) {
|
if( player != null && player.isPlaying() && fullScreenMode) {
|
||||||
player.setPlayWhenReady(false);
|
player.setPlayWhenReady(false);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if( fullScreenMode) {
|
if( fullScreenMode) {
|
||||||
closeFullscreenDialog();
|
closeFullscreenDialog();
|
||||||
|
|
Loading…
Reference in New Issue