Skip to content
Snippets Groups Projects
Commit c39f7c3b authored by Thomas Guillem's avatar Thomas Guillem
Browse files

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

Since it's not allowed anymore.
parent 18ebb8f5
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment