string improvements
This commit is contained in:
parent
c9d2fbac91
commit
aa610f424d
1 changed files with 2 additions and 2 deletions
|
@ -235,7 +235,7 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
|
||||||
addButton(ll, "\u25BA (10.3) You have been off the route for 1050m", builder(p).offRoute(1050));
|
addButton(ll, "\u25BA (10.3) You have been off the route for 1050m", builder(p).offRoute(1050));
|
||||||
addButton(ll, "\u25BA (10.4) You are back on the route", builder(p).backOnRoute());
|
addButton(ll, "\u25BA (10.4) You are back on the route", builder(p).backOnRoute());
|
||||||
|
|
||||||
addButton(ll, "Voice system info:", builder(p));
|
addButton(ll, "System info and settings:", builder(p));
|
||||||
addButton(ll, "\u25BA (11.1) (TAP TO FULLY POPULATE)\n" + getVoiceSystemInfo(), builder(p).attention(""));
|
addButton(ll, "\u25BA (11.1) (TAP TO FULLY POPULATE)\n" + getVoiceSystemInfo(), builder(p).attention(""));
|
||||||
addButton(ll, "\u25BA (11.2) (TAP TO CHANGE)\n \u25CF Voice prompt delay for selected output: " +
|
addButton(ll, "\u25BA (11.2) (TAP TO CHANGE)\n \u25CF Voice prompt delay for selected output: " +
|
||||||
((OsmandApplication) getApplication()).getSettings().VOICE_PROMPT_DELAY[((OsmandApplication) getApplication()).getSettings().AUDIO_MANAGER_STREAM.get()].get() +
|
((OsmandApplication) getApplication()).getSettings().VOICE_PROMPT_DELAY[((OsmandApplication) getApplication()).getSettings().AUDIO_MANAGER_STREAM.get()].get() +
|
||||||
|
@ -294,7 +294,7 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
builder.play();
|
builder.play();
|
||||||
if (description.startsWith("\u25BA (11.1)")) {
|
if (description.startsWith("\u25BA (11.1)")) {
|
||||||
buttonInfo.setText("\u25BA (11.1) Info detected:\n" + getVoiceSystemInfo());
|
buttonInfo.setText("\u25BA (11.1) Voice system info:\n" + getVoiceSystemInfo());
|
||||||
// Toast.makeText(TestVoiceActivity.this, "Info refreshed.", Toast.LENGTH_LONG).show();
|
// Toast.makeText(TestVoiceActivity.this, "Info refreshed.", Toast.LENGTH_LONG).show();
|
||||||
}
|
}
|
||||||
if (description.startsWith("\u25BA (11.2)")) {
|
if (description.startsWith("\u25BA (11.2)")) {
|
||||||
|
|
Loading…
Reference in a new issue