Update to 7.9.2 (2389)

This commit is contained in:
DrKLO 2021-08-05 23:35:18 +03:00
parent 24c6968b8a
commit fc12550efb
3398 changed files with 464 additions and 544 deletions

View file

@ -6884,6 +6884,9 @@ public class PhotoViewer implements NotificationCenter.NotificationCenterDelegat
toggleMiniProgress(buffering, true);
}
}
if (aspectRatioFrameLayout != null) {
aspectRatioFrameLayout.setKeepScreenOn(playWhenReady && (playbackState != ExoPlayer.STATE_ENDED && playbackState != ExoPlayer.STATE_IDLE));
}
if (playWhenReady && (playbackState != ExoPlayer.STATE_ENDED && playbackState != ExoPlayer.STATE_IDLE)) {
try {
parentActivity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);