diff --git a/astrid/plugin-src/com/todoroo/astrid/reminders/Notifications.java b/astrid/plugin-src/com/todoroo/astrid/reminders/Notifications.java index 715627ce8..068e4bd3b 100644 --- a/astrid/plugin-src/com/todoroo/astrid/reminders/Notifications.java +++ b/astrid/plugin-src/com/todoroo/astrid/reminders/Notifications.java @@ -280,12 +280,11 @@ public class Notifications extends BroadcastReceiver { notificationManager.notify(notificationId, notification); if (voiceReminder) { for(int i = 0; i < 50; i++) { + AndroidUtilities.sleepDeep(100); if(audioManager.getMode() != AudioManager.MODE_RINGTONE) break; - AndroidUtilities.sleepDeep(100); } try { - System.err.println("QUEUESPEAK " + text); VoiceOutputService.getVoiceOutputInstance().queueSpeak(text); } catch (VerifyError e) { // unavailable diff --git a/astrid/res/xml/preferences.xml b/astrid/res/xml/preferences.xml index ed7abf84e..0a26faef1 100644 --- a/astrid/res/xml/preferences.xml +++ b/astrid/res/xml/preferences.xml @@ -34,6 +34,7 @@