[android] keep Mapbox.java when obfuscating code to allow look up from JNI
This commit is contained in:
@@ -3,6 +3,7 @@ package com.mapbox.mapboxsdk;
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.res.AssetManager;
|
||||
import android.support.annotation.Keep;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.support.annotation.UiThread;
|
||||
@@ -25,6 +26,7 @@ import com.mapbox.mapboxsdk.utils.ThreadUtils;
|
||||
*/
|
||||
@UiThread
|
||||
@SuppressLint("StaticFieldLeak")
|
||||
@Keep
|
||||
public final class Mapbox {
|
||||
|
||||
private static final String TAG = "Mbgl-Mapbox";
|
||||
|
||||
Reference in New Issue
Block a user