fix bug with AGPS destruction

This commit is contained in:
sonora 2015-04-12 11:20:25 +02:00
parent 88b63fb7fe
commit 36e8324a99

View file

@ -159,7 +159,8 @@ public class MapActivity extends AccessibleActivity {
dashboardOnMap.createDashboardView();
checkAppInitialization();
parseLaunchIntentLocation();
getMyApplication().getLocationProvider().redownloadAGPS();
//next line destroys AGPS data if no Internet is present! AGPS must never be re-downloaed without prior Internet connectivity check!
//getMyApplication().getLocationProvider().redownloadAGPS();
mapView.setTrackBallDelegate(new OsmandMapTileView.OnTrackBallListener() {
@Override
public boolean onTrackBallEvent(MotionEvent e) {