some more bullet formatting
This commit is contained in:
parent
a54d59bc10
commit
df853c8152
1 changed files with 15 additions and 16 deletions
|
@ -140,37 +140,36 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
|
|||
|
||||
private String getVoiceSystemInfo() {
|
||||
String v ="";
|
||||
v += " \u25CF App profile: " + ((OsmandApplication) getApplication()).getSettings().APPLICATION_MODE.get().getStringKey();
|
||||
v += "\u25CF App profile: " + ((OsmandApplication) getApplication()).getSettings().APPLICATION_MODE.get().getStringKey();
|
||||
|
||||
if (((OsmandApplication) getApplication()).getSettings().AUDIO_STREAM_GUIDANCE.get() == 3) {
|
||||
v += "\n \u25CF Voice guidance output: Media/music audio";
|
||||
v += "\n\u25CF Voice guidance output: Media/music audio";
|
||||
} else if (((OsmandApplication) getApplication()).getSettings().AUDIO_STREAM_GUIDANCE.get() == 5) {
|
||||
v += "\n \u25CF Voice guidance output: Notification audio";
|
||||
v += "\n\u25CF Voice guidance output: Notification audio";
|
||||
} else if (((OsmandApplication) getApplication()).getSettings().AUDIO_STREAM_GUIDANCE.get() == 0) {
|
||||
v += "\n \u25CF Voice guidance output: Phone call audio";
|
||||
v += "\n\u25CF Voice guidance output: Phone call audio";
|
||||
} else {
|
||||
v += "\n \u25CF Voice guidance output: " + ((OsmandApplication) getApplication()).getSettings().AUDIO_STREAM_GUIDANCE.get();
|
||||
v += "\n\u25CF Voice guidance output: " + ((OsmandApplication) getApplication()).getSettings().AUDIO_STREAM_GUIDANCE.get();
|
||||
}
|
||||
|
||||
v += "\n \u25CF OsmAnd voice: " + osmandVoice;
|
||||
v += "\n \u25CF OsmAnd voice language: " + osmandVoiceLang;
|
||||
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();
|
||||
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 Voice language availability: Recorded voice";
|
||||
v += "\n\u25CF Voice actually used: Recorded voice";
|
||||
}
|
||||
|
||||
if (((OsmandApplication) getApplication()).getSettings().AUDIO_STREAM_GUIDANCE.get() == 0) {
|
||||
v += "\n \u25CF BT SCO: " + AbstractPrologCommandPlayer.btScoInit;
|
||||
v += "\n\u25CF BT SCO: " + AbstractPrologCommandPlayer.btScoInit;
|
||||
} else {
|
||||
v += "\n \u25CF BT SCO: Current profile is not set to 'Phone Call Audio'.";
|
||||
v += "\n\u25CF BT SCO: Current profile is not set to 'Phone Call Audio'.";
|
||||
}
|
||||
|
||||
v += "\n \u25CF Phone call audio delay: " + ((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() + "\u00A0ms";
|
||||
v += "\n";
|
||||
v += "\n\u25CF Phone call audio delay: " + ((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() + "\u00A0ms";
|
||||
return v;
|
||||
}
|
||||
|
||||
|
@ -280,7 +279,7 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
|
|||
addButton(ll, "(10.4) You are back on the route", builder(p).backOnRoute());
|
||||
|
||||
addButton(ll, " Voice system info:", builder(p));
|
||||
addButton(ll, "(11.1) (Tap to display all)\n\n" + voiceSystemInfo, builder(p).attention(""));
|
||||
addButton(ll, "(11.1) (Tap to display all)\n" + voiceSystemInfo, builder(p).attention(""));
|
||||
addButton(ll, "(11.2) Tap to change Phone call audio delay (if car stereo cuts off prompts). Default is 1500\u00A0ms.", builder(p).attention(""));
|
||||
ll.forceLayout();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue