removed synchronation

from the animation thread's abort()

Change-Id: I27488739805eda2422c87173b8d65d2680742958
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-03-04 14:55:13 -05:00
parent 184552932e
commit 2d53cf69cb
2 changed files with 3 additions and 10 deletions

Binary file not shown.

View File

@@ -43,7 +43,7 @@ public abstract class UserOverlayBase extends Overlay implements GeoPointLocatio
private boolean isAborted;
public synchronized void abort(){
public void abort(){
isAborted = true;
}
@@ -107,7 +107,7 @@ public abstract class UserOverlayBase extends Overlay implements GeoPointLocatio
private final String TAG = "UserOverlayBase";
private boolean isEnabled;
private volatile int mUserArrow = R.drawable.user_arrow_animation_1;
private int mUserArrow = R.drawable.user_arrow_animation_1;
private AnimationThread mAnimationThread;
private float mBearing = 0;
private int mAccuracy;
@@ -507,14 +507,7 @@ public abstract class UserOverlayBase extends Overlay implements GeoPointLocatio
if(mCompass != null)
mCompass.setDestination(destination);
}
// /**
// * Sets whether or not the users location is enabled
// * @param isEnabled
// * @author ricky barrette
// */
// public abstract void setMyLocationEnabled(boolean isEnabled);
/**
* UnResgisters the listener. after this call you will no longer get location updates
* @author Ricky Barrette