removed synchronation
from the animation thread's abort() Change-Id: I27488739805eda2422c87173b8d65d2680742958 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
Binary file not shown.
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user