[android] keep Mapbox.java when obfuscating code to allow look up from JNI

This commit is contained in:
tobrun
2019-10-04 16:03:42 +02:00
committed by Tobrun
parent cab756374f
commit 910e34b855

View File

@@ -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";