altosdroid: Get rid of a couple of startup messages
authorKeith Packard <keithp@keithp.com>
Sat, 13 Apr 2013 18:45:23 +0000 (11:45 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 13 Apr 2013 18:45:23 +0000 (11:45 -0700)
These are just annoying

Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid/src/org/altusmetrum/AltosDroid/AltosDroid.java
altosdroid/src/org/altusmetrum/AltosDroid/AltosVoice.java

index 3715c3f9600a4d1d06b55c5f0efb08e3f81173de..93af2fdcd6ac69d0e56530d2ef6ac877bd728cca 100644 (file)
@@ -126,7 +126,6 @@ public class AltosDroid extends FragmentActivity {
                                        ad.mTitle.setText(R.string.title_connected_to);
                                        ad.mTitle.append(str);
                                        Toast.makeText(ad.getApplicationContext(), "Connected to " + str, Toast.LENGTH_SHORT).show();
-                                       ad.mAltosVoice.speak("Connected");
                                        break;
                                case TelemetryService.STATE_CONNECTING:
                                        ad.mTitle.setText(R.string.title_connecting);
index 7da5c4a982647120c39b9e00e7654c1e42b47b37..b3dba62693714403f95f0b312beeb890f6e88b1a 100644 (file)
@@ -38,7 +38,6 @@ public class AltosVoice {
                        public void onInit(int status) {\r
                                if (status == TextToSpeech.SUCCESS) tts_enabled = true;\r
                                if (tts_enabled) {\r
-                                       speak("AltosDroid ready");\r
                                        idle_thread = new IdleThread();\r
                                }\r
                        }\r