[Android] isLolliPopOrLater() util method
Geoffrey Métais
git at videolan.org
Tue Nov 4 10:18:38 CET 2014
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Oct 22 18:47:56 2014 +0200| [afe14f599bf3217323052c6fbe25d5c3885149f4] | committer: Geoffrey Métais
isLolliPopOrLater() util method
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=afe14f599bf3217323052c6fbe25d5c3885149f4
---
vlc-android/src/org/videolan/libvlc/LibVlcUtil.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java b/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java
index 739c06a..0ddf780 100644
--- a/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java
+++ b/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java
@@ -79,6 +79,11 @@ public class LibVlcUtil {
return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.KITKAT;
}
+ public static boolean isLolliPopOrLater()
+ {
+ return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP;
+ }
+
private static String errorMsg = null;
private static boolean isCompatible = false;
public static String getErrorMsg() {
More information about the Android
mailing list