Fixt Test Voice Announcement debug data

This commit is contained in:
Hardy 2019-11-02 22:55:02 +01:00 committed by GitHub
parent 7c3c3ae3c2
commit 0c2b4ac287
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,16 +137,11 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
v += "\n \u25CF OsmAnd voice: " + osmandVoice;
v += "\n \u25CF OsmAnd voice language: " + osmandVoiceLang;
if (AbstractPrologCommandPlayer.getCurrentVersion() > 99) {
v += "\n \u25CF Voice language availability: " + TTSCommandPlayerImpl.getTtsVoiceStatus();
v += "\n \u25CF Voice actually used: " + TTSCommandPlayerImpl.getTtsVoiceUsed();
} else {
v += "\n \u25CF Voice language availability: Recorded voice";
v += "\n \u25CF Voice actually used: Recorded voice";
}
v += "\n \u25CF TTS voice language availability: " + (TTSCommandPlayerImpl.getTtsVoiceStatus().equals("") ? "-" : TTSCommandPlayerImpl.getTtsVoiceStatus());
v += "\n \u25CF TTS voice actually used: " + (TTSCommandPlayerImpl.getTtsVoiceUsed().equals("") ? "-" : TTSCommandPlayerImpl.getTtsVoiceUsed());
if (((OsmandApplication) getApplication()).getSettings().AUDIO_STREAM_GUIDANCE.get() == 0) {
v += "\n \u25CF BT SCO: " + AbstractPrologCommandPlayer.btScoInit;
v += "\n \u25CF BT SCO: " + (AbstractPrologCommandPlayer.btScoInit.equals("") ? "-" : AbstractPrologCommandPlayer.btScoInit);
} else {
v += "\n \u25CF BT SCO: The current app profile is not set to use 'Phone call audio'.";
}