Revert "[android] - add library loading to peer objects"
This reverts commit 16718b0df7.
This commit is contained in:
@@ -5,7 +5,6 @@ import android.support.annotation.NonNull;
|
||||
import android.support.annotation.Nullable;
|
||||
|
||||
import com.google.gson.JsonElement;
|
||||
import com.mapbox.mapboxsdk.LibraryLoader;
|
||||
import com.mapbox.mapboxsdk.style.expressions.Expression;
|
||||
import com.mapbox.mapboxsdk.style.types.Formatted;
|
||||
import com.mapbox.mapboxsdk.utils.ThreadUtils;
|
||||
@@ -21,10 +20,6 @@ public abstract class Layer {
|
||||
private boolean invalidated;
|
||||
private boolean detached;
|
||||
|
||||
static {
|
||||
LibraryLoader.load();
|
||||
}
|
||||
|
||||
@Keep
|
||||
protected Layer(long nativePtr) {
|
||||
checkThread();
|
||||
|
||||
@@ -3,8 +3,6 @@ package com.mapbox.mapboxsdk.style.sources;
|
||||
import android.support.annotation.Keep;
|
||||
|
||||
import android.support.annotation.NonNull;
|
||||
|
||||
import com.mapbox.mapboxsdk.LibraryLoader;
|
||||
import com.mapbox.mapboxsdk.utils.ThreadUtils;
|
||||
|
||||
/**
|
||||
@@ -17,10 +15,6 @@ public abstract class Source {
|
||||
|
||||
protected boolean detached;
|
||||
|
||||
static {
|
||||
LibraryLoader.load();
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal use
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user