mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 23:51:00 +00:00
Update to 7.9.2 (2389)
This commit is contained in:
parent
24c6968b8a
commit
fc12550efb
3398 changed files with 464 additions and 544 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue