[Android] Add hasPiP constant
Geoffrey Métais
git at videolan.org
Tue Jun 13 15:00:59 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jun 13 12:06:07 2017 +0200| [b131e2a553fcaf517e5d60ce275258203414976e] | committer: Geoffrey Métais
Add hasPiP constant
> https://code.videolan.org/videolan/vlc-android/commit/b131e2a553fcaf517e5d60ce275258203414976e
---
vlc-android/src/org/videolan/vlc/util/AndroidDevices.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
index bd4b22a94..3f76e75f2 100644
--- a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
+++ b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
@@ -71,6 +71,7 @@ public class AndroidDevices {
public final static boolean isChromeBook = VLCApplication.getAppContext().getPackageManager().hasSystemFeature("org.chromium.arc.device_management");
private final static String[] noMediaStyleManufacturers = {"huawei", "symphony teleca"};
public final static boolean showMediaStyle = !isManufacturerBannedForMediastyleNotifications();
+ public static final boolean hasPiP = AndroidUtil.isOOrLater || AndroidUtil.isNougatOrLater && isTv;
static {
More information about the Android
mailing list