diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index 43a5179d9b..f6d5f5c287 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -784,7 +784,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { public boolean updateInfo(DrawSettings drawSettings) { boolean recording = isRecording(); Integer action = AV_DEFAULT_ACTION.get(); - if (!Algorithms.objectEquals(recording, cachedAction) || !Algorithms.objectEquals(action, cachedRecording)) { + if (!Algorithms.objectEquals(recording, cachedRecording) || !Algorithms.objectEquals(action, cachedAction)) { cachedAction = action; cachedRecording = recording; if (recording) {