Update OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java

This commit is contained in:
vshcherb 2013-02-05 17:58:31 +01:00
parent 13d3fed817
commit 7f34b41ba7

View file

@ -397,7 +397,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
@Override
public void updateLayers(OsmandMapTileView mapView, MapActivity activity) {
if(app.getSettings().SHOW_RECORDINGS.get()) {
if(audioNotesLayers == null) {
if(audioNotesLayer == null) {
registerLayers(activity);
} else if(!mapView.getLayers().contains(audioNotesLayer)) {
mapView.addLayer(audioNotesLayer, 3.5f);