diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2019-10-04 16:03:42 +0200 |
---|---|---|
committer | tobrun <tobrun.van.nuland@gmail.com> | 2019-10-04 16:03:42 +0200 |
commit | 4e5f71e08a9232a444f048992e0adc230df99a6a (patch) | |
tree | b4f493c007c2a703df10b88eeeac42b5af5dcd5f | |
parent | 198e3453394ccb2b1f7db72d1858cfd18e302a1e (diff) | |
download | qtlocation-mapboxgl-4e5f71e08a9232a444f048992e0adc230df99a6a.tar.gz |
[android] keep Mapbox.java when obfuscating code to allow look up from JNIupstream/tvn-patch-mapbox
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java index 9c2ae8492c..35f7a5975d 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java @@ -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"; |