summaryrefslogtreecommitdiffstats
path: root/core/java/android/speech
diff options
context:
space:
mode:
authorCharles Chen <clchen@google.com>2009-07-06 16:10:32 -0700
committerCharles Chen <clchen@google.com>2009-07-06 16:10:32 -0700
commit52ae06521a8d4c48757b126cff233f037d0a16ba (patch)
tree38574aac9ed11b81a06ce9b537533ced434ad5a9 /core/java/android/speech
parentda93c26a3d2ee0b7d51561b786bde63b7b238c50 (diff)
downloadframeworks_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-xcore/java/android/speech/tts/TextToSpeech.java2
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);