Skip to content

Commit

Permalink
Merge pull request tangrams#446 from tangrams/android-less-blocking
Browse files Browse the repository at this point in the history
android: remove superfluous synchronized modifier
  • Loading branch information
matteblair committed Dec 22, 2015
2 parents 4a6d41c + f8bb39f commit 32c3c31
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions android/tangram/src/com/mapzen/tangram/MapController.java
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,11 @@ public void queueEvent(Runnable r) {
private synchronized native void handlePinchGesture(float posX, float posY, float scale, float velocity);
private synchronized native void handleRotateGesture(float posX, float posY, float rotation);
private synchronized native void handleShoveGesture(float distance);
private synchronized native void onUrlSuccess(byte[] rawDataBytes, long callbackPtr);
private synchronized native void onUrlFailure(long callbackPtr);
public synchronized native void pickFeature(float posX, float posY);

private native void onUrlSuccess(byte[] rawDataBytes, long callbackPtr);
private native void onUrlFailure(long callbackPtr);

// Private members
// ===============

Expand Down Expand Up @@ -611,7 +612,7 @@ public boolean startUrlRequest(String url, final long callbackPtr) throws Except
@Override
public void onFailure(Request request, IOException e) {
onUrlFailure(callbackPtr);
e.printStackTrace();
//e.printStackTrace();
}

@Override
Expand Down

0 comments on commit 32c3c31

Please sign in to comment.