mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Merge pull request #874 from deltachat/no_network_provider
No network provider
This commit is contained in:
@@ -46,7 +46,7 @@ public class LocationBackgroundService extends Service {
|
||||
}
|
||||
|
||||
locationListener = new ServiceLocationListener();
|
||||
requestLocationUpdate(LocationManager.NETWORK_PROVIDER);
|
||||
//requestLocationUpdate(LocationManager.NETWORK_PROVIDER);
|
||||
requestLocationUpdate(LocationManager.GPS_PROVIDER);
|
||||
initialLocationUpdate();
|
||||
}
|
||||
|
||||
@@ -83,6 +83,10 @@ public class MarkerViewManager implements MapView.OnDidFinishRenderingFrameListe
|
||||
}
|
||||
|
||||
public void removeMarkers() {
|
||||
if (mapView.isDestroyed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (MarkerView markerView : markers) {
|
||||
mapView.removeView(markerView.getView());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user