summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-08-11 18:11:19 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-08-11 18:11:19 -0700
commit8e235b7bac7c94a43fa67c7640b17ad43d6a4774 (patch)
tree411ed5594c5f63c7059728ab7243802f17e6179d /core/java
parent6a332cf7a011f524dd80dab0bd699ec8c24d18fd (diff)
parent1e1b6b7245a0a9212aa3b0366e7919f114895306 (diff)
downloadframeworks_base-8e235b7bac7c94a43fa67c7640b17ad43d6a4774.zip
frameworks_base-8e235b7bac7c94a43fa67c7640b17ad43d6a4774.tar.gz
frameworks_base-8e235b7bac7c94a43fa67c7640b17ad43d6a4774.tar.bz2
am 1e1b6b72: Merge change 20514 into donut
Merge commit '1e1b6b7245a0a9212aa3b0366e7919f114895306' * commit '1e1b6b7245a0a9212aa3b0366e7919f114895306': Fix bug 2022435.
Diffstat (limited to 'core/java')
-rwxr-xr-xcore/java/android/speech/tts/TextToSpeech.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java
index b033c6a..04a0ec8 100755
--- a/core/java/android/speech/tts/TextToSpeech.java
+++ b/core/java/android/speech/tts/TextToSpeech.java
@@ -189,6 +189,12 @@ public class TextToSpeech {
"android.speech.tts.engine.INSTALL_TTS_DATA";
/**
+ * {@hide}
+ */
+ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
+ public static final String ACTION_TTS_DATA_INSTALLED =
+ "android.speech.tts.engine.TTS_DATA_INSTALLED";
+ /**
* Broadcast Action: Starts the activity from the platform Text-To-Speech
* engine to verify the proper installation and availability of the
* resource files on the system. Upon completion, the activity will
@@ -233,6 +239,16 @@ public class TextToSpeech {
*/
public static final String EXTRA_VOICE_DATA_FILES_INFO = "dataFilesInfo";
+ // extras for a TTS engine's data installation
+ /**
+ * Extra information received with the {@link #ACTION_TTS_DATA_INSTALLED} intent
+ * which indicates whether the TTS data installation requested with
+ * {@link #ACTION_INSTALL_TTS_DATA} completed successfully or not. The value is
+ * {@link TextToSpeech#SUCCESS} or {@link TextToSpeech#ERROR}.
+ * {@hide}
+ */
+ public static final String EXTRA_TTS_DATA_INSTALLED = "dataInstalled";
+
// keys for the parameters passed with speak commands. Hidden keys are used internally
// to maintain engine state for each TextToSpeech instance.
/**