From 7f34b41ba757c205e2b3869ae1aed16eddc2b744 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Tue, 5 Feb 2013 17:58:31 +0100 Subject: [PATCH] Update OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java --- .../src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index 24144db90a..35943e4028 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -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);