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

Commit 9b9cf0ba authored by Kevin Hufnagle's avatar Kevin Hufnagle Committed by Automerger Merge Worker
Browse files

Merge "Adding documentation to note new intent action changes coming with...

Merge "Adding documentation to note new intent action changes coming with Android 11." into rvc-dev am: 176b2e0c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12180379

Change-Id: Iee65dac62bf9e7699ffdd49d86cd30f5e4e7b01e
parents aec7b4aa 176b2e0c
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -60,6 +60,19 @@ import java.util.Set;
 * notified of the completion of the initialization.<br>
 * When you are done using the TextToSpeech instance, call the {@link #shutdown()} method
 * to release the native resources used by the TextToSpeech engine.
 *
 * Apps targeting Android 11 that use text-to-speech should declare {@link
 * TextToSpeech.Engine#INTENT_ACTION_TTS_SERVICE} in the <code><queries></code> elements of their
 * manifest:
 *
 * <code>
 * <queries>
 *   ...
 *  <intent>
 *      <action android:name="android.intent.action.TTS_SERVICE" />
 *  </intent>
 * </queries>
 * </code>
 */
public class TextToSpeech {

@@ -239,6 +252,20 @@ public class TextToSpeech {
     *         through {@link TextToSpeech#getFeatures(java.util.Locale)}.
     *     </li>
     * </ul>
     *
     * Apps targeting Android 11 that use text-to-speech should declare {@link
     * #INTENT_ACTION_TTS_SERVICE} in the <code><queries></code> elements of their
     * manifest:
     *
     * <code>
     * <queries>
     *   ...
     *  <intent>
     *      <action android:name="android.intent.action.TTS_SERVICE" />
     *  </intent>
     * </queries>
     * </code>

     */
    public class Engine {