From de9db12704f22a801448271e664d87809d682ff4 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 13 Apr 2016 20:27:40 +0300 Subject: [PATCH] [android] Do not annotate methods with @UIThread Not needed, same thread already. --- .../src/main/java/com/mapbox/mapboxsdk/maps/MapView.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java index 818c336767f..fffddd78747 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java @@ -2297,7 +2297,6 @@ private void onConnectivityChanged(boolean isConnected) { * @param listener The callback that's invoked on every frame rendered to the map view. * @see MapView#removeOnMapChangedListener(OnMapChangedListener) */ - @UiThread public void addOnMapChangedListener(@Nullable OnMapChangedListener listener) { if (listener != null) { mOnMapChangedListener.add(listener); @@ -2310,7 +2309,6 @@ public void addOnMapChangedListener(@Nullable OnMapChangedListener listener) { * @param listener The previously added callback to remove. * @see MapView#addOnMapChangedListener(OnMapChangedListener) */ - @UiThread public void removeOnMapChangedListener(@Nullable OnMapChangedListener listener) { if (listener != null) { mOnMapChangedListener.remove(listener);