Cleanup in VoiceAnnouncement: rename to start() and stop().

This commit is contained in:
Dennis Guse
2022-01-28 22:22:10 +01:00
parent a7fd6b8dfa
commit 30f9b6ffdc
4 changed files with 13 additions and 16 deletions
@@ -178,7 +178,7 @@ public class VoiceAnnouncement {
tts.speak(announcement, TextToSpeech.QUEUE_FLUSH, null, "not used");
}
public void shutdown() {
public void stop() {
if (tts != null) {
tts.shutdown();
tts = null;