diff options
author | Charles Chen <clchen@google.com> | 2009-07-06 16:10:32 -0700 |
---|---|---|
committer | Charles Chen <clchen@google.com> | 2009-07-06 16:10:32 -0700 |
commit | 52ae06521a8d4c48757b126cff233f037d0a16ba (patch) | |
tree | 38574aac9ed11b81a06ce9b537533ced434ad5a9 /core/java/android/speech | |
parent | da93c26a3d2ee0b7d51561b786bde63b7b238c50 (diff) | |
download | frameworks_base-52ae06521a8d4c48757b126cff233f037d0a16ba.zip frameworks_base-52ae06521a8d4c48757b126cff233f037d0a16ba.tar.gz frameworks_base-52ae06521a8d4c48757b126cff233f037d0a16ba.tar.bz2 |
Fixes a compatibility issue with users that have the old TTS
installed already.
Diffstat (limited to 'core/java/android/speech')
-rwxr-xr-x | core/java/android/speech/tts/TextToSpeech.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index f714dd9..61e182a 100755 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -207,7 +207,7 @@ public class TextToSpeech { } }; - Intent intent = new Intent("android.intent.action.USE_TTS"); + Intent intent = new Intent("android.intent.action.START_TTS_SERVICE"); intent.addCategory("android.intent.category.TTS"); mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE); |