From 79d6a9ef4674f24fb2f636191e29fa2f0f676c29 Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 6 Jul 2016 23:17:39 +0200 Subject: [PATCH] reset utterance counter upon stop() --- OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java index de6e13a4e3..74a4014a18 100644 --- a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java +++ b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java @@ -132,6 +132,7 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer { if (mTts != null){ mTts.stop(); } + ttsRequests = 0; } public void sendAlertToPebble(String bld) {