diff options
| author | Charles Chen <clchen@google.com> | 2009-07-08 16:12:29 -0700 | 
|---|---|---|
| committer | Charles Chen <clchen@google.com> | 2009-07-08 16:12:29 -0700 | 
| commit | 748efcc3fb1b369690ab4617a04f452b1832edf4 (patch) | |
| tree | d446a416005e5bebd2a5927141acc2ce51e60d7f /core/java/android/speech | |
| parent | 7761920b2a2efc76d08c63d5be1b3ce829746e4b (diff) | |
| download | frameworks_base-748efcc3fb1b369690ab4617a04f452b1832edf4.zip frameworks_base-748efcc3fb1b369690ab4617a04f452b1832edf4.tar.gz frameworks_base-748efcc3fb1b369690ab4617a04f452b1832edf4.tar.bz2 | |
Adding a missing catch
Diffstat (limited to 'core/java/android/speech')
| -rw-r--r-- | core/java/android/speech/tts/TextToSpeech.java | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index f90cbff..ed1e4ff 100644 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -606,6 +606,7 @@ public class TextToSpeech {                  result = mITts.setLanguage(mCachedParams[Engine.TTS_PARAM_POSITION_LANGUAGE + 1],                          mCachedParams[Engine.TTS_PARAM_POSITION_COUNTRY + 1],                          mCachedParams[Engine.TTS_PARAM_POSITION_VARIANT + 1] ); +            } catch (RemoteException e) {                  // TTS died; restart it.                  mStarted = false;                  initTts(); | 
