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