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

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

docs: Fix note about new intent action changes coming with Android 11. am: e69b8a90

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

Change-Id: I0a9b0550c4f129e9f8839f149b704b956cee4451
parents 92876acc e69b8a90
Loading
Loading
Loading
Loading
+16 −17
Original line number Original line Diff line number Diff line
@@ -62,17 +62,17 @@ import java.util.Set;
 * to release the native resources used by the TextToSpeech engine.
 * to release the native resources used by the TextToSpeech engine.
 *
 *
 * Apps targeting Android 11 that use text-to-speech should declare {@link
 * 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
 * TextToSpeech.Engine#INTENT_ACTION_TTS_SERVICE} in the {@code queries} elements of their
 * manifest:
 * manifest:
 *
 *
 * <code>
 * <pre>
 * <queries>
 * &lt;queries&gt;
 *   ...
 *   ...
 *  <intent>
 *  &lt;intent&gt;
 *      <action android:name="android.intent.action.TTS_SERVICE" />
 *      &lt;action android:name="android.intent.action.TTS_SERVICE" /&gt;
 *  </intent>
 *  &lt;/intent&gt;
 * </queries>
 * &lt;/queries&gt;
 * </code>
 * </pre>
 */
 */
public class TextToSpeech {
public class TextToSpeech {


@@ -254,18 +254,17 @@ public class TextToSpeech {
     * </ul>
     * </ul>
     *
     *
     * Apps targeting Android 11 that use text-to-speech should declare {@link
     * Apps targeting Android 11 that use text-to-speech should declare {@link
     * #INTENT_ACTION_TTS_SERVICE} in the <code><queries></code> elements of their
     * TextToSpeech.Engine#INTENT_ACTION_TTS_SERVICE} in the {@code queries} elements of their
     * manifest:
     * manifest:
     *
     *
     * <code>
     * <pre>
     * <queries>
     * &lt;queries&gt;
     *   ...
     *   ...
     *  <intent>
     *  &lt;intent&gt;
     *      <action android:name="android.intent.action.TTS_SERVICE" />
     *      &lt;action android:name="android.intent.action.TTS_SERVICE" /&gt;
     *  </intent>
     *  &lt;/intent&gt;
     * </queries>
     * &lt;/queries&gt;
     * </code>
     * </pre>

     */
     */
    public class Engine {
    public class Engine {