mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 15:41:02 +00:00
merge original 8.6.0 in progress
This commit is contained in:
commit
9a37adb349
2625 changed files with 166253 additions and 59294 deletions
|
|
@ -14761,11 +14761,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue