Revert "[android] - add library loading to peer objects"

This reverts commit 16718b0df7.
This commit is contained in:
tobrun
2019-01-17 18:59:21 +01:00
committed by Tobrun
parent 24468956fc
commit e0fc92ea0b
2 changed files with 0 additions and 11 deletions

View File

@@ -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();

View File

@@ -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
*