Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] Do not annotate methods with @UIThread
Browse files Browse the repository at this point in the history
Not needed, same thread already.
  • Loading branch information
tmpsantos authored and jfirebaugh committed Apr 14, 2016
1 parent 083739f commit de9db12
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit de9db12

Please sign in to comment.