mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2025-01-27 15:19:55 +01:00
Allow swipe to pip
This commit is contained in:
parent
f7576131b2
commit
e8a1e52992
@ -13609,9 +13609,6 @@ 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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user