diff --git a/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java b/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java index 472529f19a..88efedb5de 100644 --- a/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java +++ b/OsmAnd/src/net/osmand/plus/osmodroid/OsMoDroidPlugin.java @@ -63,6 +63,10 @@ public class OsMoDroidPlugin extends OsmandPlugin implements MonitoringInfoContr public void updateLayers(OsmandMapTileView mapView, MapActivity activity) { registerLayers(activity); super.updateLayers(mapView, activity); + MonitoringInfoControl lock = activity.getMapLayers().getMapInfoLayer().getMonitoringInfoControl(); + if(lock != null && !lock.getMonitorActions().contains(this)) { + lock.addMonitorActions(this); + } } MapActivity activity;