[android] annotate Mapbox class with @UiThread to make clear that it is required to be started from the main thread as it loads the native library for connectivity change events (#9309)

This commit is contained in:
Pablo Guardiola
2017-06-21 15:18:21 +02:00
committed by GitHub
parent 7e8bdadb91
commit 2deba0f1f0

View File

@@ -24,6 +24,7 @@ import com.mapbox.services.android.telemetry.location.LocationEnginePriority;
* connectivity state.
* </p>
*/
@UiThread
public final class Mapbox {
private static Mapbox INSTANCE;