From 2e85b9efeab03df46c39fac1cbc7a8ec4174543d Mon Sep 17 00:00:00 2001 From: Hardy Date: Fri, 17 Mar 2017 18:18:13 -0700 Subject: [PATCH] Small bt sco improvement --- OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java b/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java index 584b3ff2f3..0ba0f20f16 100644 --- a/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java +++ b/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java @@ -281,7 +281,7 @@ public class TestVoiceActivity extends OsmandActionBarActivity { ((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.set(2500); } else if (((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() == 2500) { ((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); } Toast.makeText(TestVoiceActivity.this, "BT SCO init delay changed to " + ((OsmandApplication) getApplication()).getSettings().BT_SCO_DELAY.get() + " ms", Toast.LENGTH_LONG).show();