From 9f5eadd2eed8b95c077a15d9e3e3c66fd151c215 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Fri, 14 Aug 2009 15:44:31 -0700 Subject: [PATCH] Unhide the broadcast intent that signals completion of the TTS language files. This is required for bug 2022435. Correct the javadoc where two intents were mislabelled as broadcast, but were activity actions. --- api/current.xml | 22 +++++++++++++++++ .../java/android/speech/tts/TextToSpeech.java | 24 ++++++++++--------- 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/api/current.xml b/api/current.xml index ffbe6e2b040b0..e62908206c966 100644 --- a/api/current.xml +++ b/api/current.xml @@ -109309,6 +109309,17 @@ visibility="public" > + + + + * */ - @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_CHECK_TTS_DATA = "android.speech.tts.engine.CHECK_TTS_DATA"; @@ -241,11 +243,11 @@ public class TextToSpeech { // 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} + * Extra information received with the {@link #ACTION_TTS_DATA_INSTALLED} intent. + * It indicates whether the data files for the synthesis engine were successfully + * installed. The installation was initiated with the {@link #ACTION_INSTALL_TTS_DATA} + * intent. The possible values for this extra are + * {@link TextToSpeech#SUCCESS} and {@link TextToSpeech#ERROR}. */ public static final String EXTRA_TTS_DATA_INSTALLED = "dataInstalled";