fix build
This commit is contained in:
parent
63d3952742
commit
8c25fa1012
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,7 @@ public class MapActivity extends AccessibleActivity implements IMapLocationListe
|
|||
private RouteAnimation routeAnimation = new RouteAnimation();
|
||||
|
||||
// this remembers the isMapLinkedToLocation state after map loses focus
|
||||
private boolean linkMapToLocation = false;
|
||||
private static boolean linkMapToLocation = false;
|
||||
|
||||
private boolean isMapLinkedToLocation = false;
|
||||
private ProgressDialog startProgressDialog;
|
||||
|
@ -1384,6 +1384,7 @@ public class MapActivity extends AccessibleActivity implements IMapLocationListe
|
|||
}
|
||||
|
||||
public static void launchMapActivityMoveToTop(Context activity){
|
||||
// linkMapToLocation memory needs to be reset if coming back from search or similar action
|
||||
linkMapToLocation = false;
|
||||
Intent newIntent = new Intent(activity, OsmandIntents.getMapActivity());
|
||||
newIntent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
|
||||
|
|
Loading…
Reference in a new issue