diff --git a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java index 74a2d80570..7359be05ca 100644 --- a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java +++ b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java @@ -223,6 +223,9 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer { if (--ttsRequests <= 0) abandonAudioFocus(); log.debug("ttsRequests="+ttsRequests); + if (ttsRequests < 0) { + ttsRequests == 0; + } } }); }