[android] using @Keep annotation across the project with the help of lint checks

This commit is contained in:
Łukasz Paczos
2018-07-24 00:20:02 +02:00
committed by Łukasz Paczos
parent 5fcd6e38a9
commit 94ad8e2ff8
66 changed files with 809 additions and 17 deletions

View File

@@ -1,5 +1,8 @@
package com.mapbox.mapboxsdk.testapp.model.customlayer;
import android.support.annotation.Keep;
@Keep
public class ExampleCustomLayer {
static {
System.loadLibrary("example-custom-layer");

View File

@@ -36,7 +36,7 @@
<string name="dynamic_marker_arsenal_title">Arsenal</string>
<string name="dynamic_marker_arsenal_snippet">Emirates Stadium</string>
<string name="debug_zoom">Zoom: %.2f</string>
<string name="viewcache_size">ViewCache size %.2f</string>
<string name="viewcache_size">ViewCache size %d</string>
<string name="latitude">Latitude</string>
<string name="min_value">-180</string>
<string name="longitude">Longitude</string>