minor tweaks in the Android UI

This commit is contained in:
kr.angelov
2013-11-27 12:37:55 +00:00
parent 105071d11e
commit 38b4a88c2b
2 changed files with 1 additions and 2 deletions

View File

@@ -36,7 +36,6 @@ public class TTS {
// TODO: handle speak() calls before service connects
public void speak(String text) {
int mode = mAudioManager.getRingerMode();
if (mAudioManager.getRingerMode() == AudioManager.RINGER_MODE_NORMAL) {
HashMap<String,String> params = new HashMap<String,String>();
// TODO: how can I get network / embedded fallback?

View File

@@ -127,7 +127,7 @@ public class Translator {
return output;
} catch (ParseError e) {
Log.e(TAG, "Parse error: " + e);
return "parse error: " + e.getMessage(); // TODO: no no no
return "parse error: " + e.getMessage();
}
}