Update to 8.6.0

This commit is contained in:
xaxtix 2022-03-11 19:49:54 +03:00
parent 3708e9847a
commit d30f796d8c
2625 changed files with 166215 additions and 59265 deletions

View file

@ -14728,11 +14728,12 @@ public class PhotoViewer implements NotificationCenter.NotificationCenterDelegat
}
private boolean enableSwipeToPiP() {
if (!BuildVars.DEBUG_PRIVATE_VERSION) {
return false;
}
boolean permissionsEnabled = Build.VERSION.SDK_INT < 23 || Settings.canDrawOverlays(parentActivity);
return pipAvailable && textureUploaded && videoPlayer != null && videoPlayer.getRepeatCount() == 0 && permissionsEnabled && !(changingTextureView || switchingInlineMode || isInline);
return false;
// if (!BuildVars.DEBUG_PRIVATE_VERSION) {
// return false;
// }
// boolean permissionsEnabled = Build.VERSION.SDK_INT < 23 || Settings.canDrawOverlays(parentActivity);
// return pipAvailable && textureUploaded && videoPlayer != null && videoPlayer.getRepeatCount() == 0 && permissionsEnabled && !(changingTextureView || switchingInlineMode || isInline);
}
@Override