Commit c39f7c3b authored by Thomas Guillem's avatar Thomas Guillem

LibVLC: don't try to load private libs after Android M

Since it's not allowed anymore.
parent 18ebb8f5
......@@ -138,7 +138,8 @@ public class LibVLC extends VLCObject<LibVLC.Event> {
sLoaded = true;
System.loadLibrary("c++_shared");
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD_MR1) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD_MR1
&& Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
try {
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.HONEYCOMB_MR1)
System.loadLibrary("anw.10");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment