Small bt sco improvement
This commit is contained in:
parent
eae74c5d03
commit
2e85b9efea
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
|
||||||
((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.set(2500);
|
((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.set(2500);
|
||||||
} else if (((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() == 2500) {
|
} else if (((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() == 2500) {
|
||||||
((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.set(3000);
|
((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.set(3000);
|
||||||
} else if (((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() == 3000) {
|
} else {
|
||||||
((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.set(1000);
|
((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.set(1000);
|
||||||
}
|
}
|
||||||
Toast.makeText(TestVoiceActivity.this, "BT SCO init delay changed to " + ((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() + " ms", Toast.LENGTH_LONG).show();
|
Toast.makeText(TestVoiceActivity.this, "BT SCO init delay changed to " + ((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() + " ms", Toast.LENGTH_LONG).show();
|
||||||
|
|
Loading…
Reference in a new issue