docs: Fix note about new intent action changes coming with Android 11.
Bug: 155091482 Change-Id: I3dfeb333cbe95880142ed97d0d50fd9f85c52f50 Test: Documentation changes - no test necessary
This commit is contained in:
@@ -62,17 +62,17 @@ import java.util.Set;
|
||||
* 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
|
||||
* TextToSpeech.Engine#INTENT_ACTION_TTS_SERVICE} in the {@code queries} elements of their
|
||||
* manifest:
|
||||
*
|
||||
* <code>
|
||||
* <queries>
|
||||
* <pre>
|
||||
* <queries>
|
||||
* ...
|
||||
* <intent>
|
||||
* <action android:name="android.intent.action.TTS_SERVICE" />
|
||||
* </intent>
|
||||
* </queries>
|
||||
* </code>
|
||||
* <intent>
|
||||
* <action android:name="android.intent.action.TTS_SERVICE" />
|
||||
* </intent>
|
||||
* </queries>
|
||||
* </pre>
|
||||
*/
|
||||
public class TextToSpeech {
|
||||
|
||||
@@ -254,18 +254,17 @@ public class TextToSpeech {
|
||||
* </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
|
||||
* TextToSpeech.Engine#INTENT_ACTION_TTS_SERVICE} in the {@code queries} elements of their
|
||||
* manifest:
|
||||
*
|
||||
* <code>
|
||||
* <queries>
|
||||
* <pre>
|
||||
* <queries>
|
||||
* ...
|
||||
* <intent>
|
||||
* <action android:name="android.intent.action.TTS_SERVICE" />
|
||||
* </intent>
|
||||
* </queries>
|
||||
* </code>
|
||||
|
||||
* <intent>
|
||||
* <action android:name="android.intent.action.TTS_SERVICE" />
|
||||
* </intent>
|
||||
* </queries>
|
||||
* </pre>
|
||||
*/
|
||||
public class Engine {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user