forked from GitHub/gf-core
minor tweaks in the Android UI
This commit is contained in:
@@ -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?
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user