[Android] VLCUtil: use the correct TargetAPI
Jean-Baptiste Kempf
git at videolan.org
Tue Jun 2 00:05:15 CEST 2015
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 1 23:57:34 2015 +0200| [2b1808691e91b8bcae489c23382f77fd56f43816] | committer: Jean-Baptiste Kempf
VLCUtil: use the correct TargetAPI
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=2b1808691e91b8bcae489c23382f77fd56f43816
---
libvlc/src/org/videolan/libvlc/util/VLCUtil.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libvlc/src/org/videolan/libvlc/util/VLCUtil.java b/libvlc/src/org/videolan/libvlc/util/VLCUtil.java
index b6f20a0..60d0fe2 100644
--- a/libvlc/src/org/videolan/libvlc/util/VLCUtil.java
+++ b/libvlc/src/org/videolan/libvlc/util/VLCUtil.java
@@ -30,6 +30,7 @@ import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.Locale;
+import android.annotation.TargetApi;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.net.Uri;
@@ -302,6 +303,7 @@ public class VLCUtil {
boolean att_fpu;
}
+ @TargetApi(Build.VERSION_CODES.GINGERBREAD)
private static File searchLibrary(ApplicationInfo applicationInfo) {
// Search for library path
String[] libraryPaths = null;
More information about the Android
mailing list