[Android] Enable PIP on Android O
Geoffrey Métais
git at videolan.org
Mon Jun 12 14:28:35 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jun 12 14:27:54 2017 +0200| [01b093b96dc0881ae499c1adbc40986320418eca] | committer: Geoffrey Métais
Enable PIP on Android O
> https://code.videolan.org/videolan/vlc-android/commit/01b093b96dc0881ae499c1adbc40986320418eca
---
vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
index 9498342e1..3fba9251b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -471,7 +471,7 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
((VideoPlayerActivity)getActivity()).switchToAudioMode(true);
break;
case ID_POPUP_VIDEO:
- if (VLCApplication.showTvUi()) {
+ if (AndroidUtil.isOOrLater || VLCApplication.showTvUi()) {
getActivity().enterPictureInPictureMode();
} else {
if (Permissions.canDrawOverlays(mActivity))
More information about the Android
mailing list