Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d03f7ae3 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 7703

* changes:
  resolved conflicts for merge of 3e522c45 to master
parents e1babd45 bd3e0ce5
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -35638,6 +35638,39 @@
 visibility="public"
>
</field>
<field name="ACTION_TTS_CHECK_TTS_DATA"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.intent.action.CHECK_TTS_DATA&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ACTION_TTS_INSTALL_TTS_DATA"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.intent.action.INSTALL_TTS_DATA&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ACTION_TTS_QUEUE_PROCESSING_COMPLETED"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.intent.action.TTS_QUEUE_PROCESSING_COMPLETED&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ACTION_UID_REMOVED"
 type="java.lang.String"
 transient="false"
+47 −10
Original line number Diff line number Diff line
@@ -1684,6 +1684,53 @@ public class Intent implements Parcelable {
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_REBOOT =
            "android.intent.action.REBOOT";
    /**
     * Broadcast Action: Triggers the platform Text-To-Speech engine to
     * start the activity that installs the resource files on the device
     * that are required for TTS to be operational. Since the installation
     * of the data can be interrupted or declined by the user, the application
     * shouldn't expect successful installation upon return from that intent,
     * and if need be, should check installation status with 
     * {@link #ACTION_TTS_CHECK_TTS_DATA}.
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_TTS_INSTALL_TTS_DATA =
            "android.intent.action.INSTALL_TTS_DATA";

    /**
     * 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
     * return one of the following codes: 
     * {@link android.speech.tts.TextToSpeech.Engine#CHECK_VOICE_DATA_PASS},
     * {@link android.speech.tts.TextToSpeech.Engine#CHECK_VOICE_DATA_FAIL},
     * {@link android.speech.tts.TextToSpeech.Engine#CHECK_VOICE_DATA_BAD_DATA},
     * {@link android.speech.tts.TextToSpeech.Engine#CHECK_VOICE_DATA_MISSING_DATA}, or
     * {@link android.speech.tts.TextToSpeech.Engine#CHECK_VOICE_DATA_MISSING_VOLUME}.
     * <p> Moreover, the data received in the activity result will contain the following
     * fields:
     * <ul>
     *   <li>{@link android.speech.tts.TextToSpeech.Engine#VOICE_DATA_ROOT_DIRECTORY} which
     *       indicates the path to the location of the resource files</li>,
     *   <li>{@link android.speech.tts.TextToSpeech.Engine#VOICE_DATA_FILES} which contains
     *       the list of all the resource files</li>,
     *   <li>and {@link android.speech.tts.TextToSpeech.Engine#VOICE_DATA_FILES_INFO} which
     *       contains, for each resource file, the description of the language covered by
     *       the file in the xxx-YYY format, where xxx is the 3-letter ISO language code,
     *       and YYY is the 3-letter ISO country code.</li>
     * </ul>
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_TTS_CHECK_TTS_DATA =
            "android.intent.action.CHECK_TTS_DATA";

    /**
     * Broadcast Action: The TextToSpeech synthesizer has completed processing 
     * all of the text in the speech queue.
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_TTS_QUEUE_PROCESSING_COMPLETED =
            "android.intent.action.TTS_QUEUE_PROCESSING_COMPLETED";

    /**
     * Broadcast Action: a remote intent is to be broadcasted.
@@ -1699,16 +1746,6 @@ public class Intent implements Parcelable {
    public static final String ACTION_REMOTE_INTENT =
            "android.intent.action.REMOTE_INTENT";

    /**
     * @hide
     * TODO: This will be unhidden in a later CL.
     * Broadcast Action: The TextToSpeech synthesizer has completed processing 
     * all of the text in the speech queue.
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_TTS_QUEUE_PROCESSING_COMPLETED =
            "android.intent.action.TTS_QUEUE_PROCESSING_COMPLETED";

    // ---------------------------------------------------------------------
    // ---------------------------------------------------------------------
    // Standard intent categories (see addCategory()).