forked from upstream-mirrors/OpenTracks
Cleanup in VoiceAnnouncement: rename to start() and stop().
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user