docs: Fix note about new intent action changes coming with Android 11. am: e69b8a9006
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12418304 Change-Id: I90566db73bb86ec900ae8246dd8f504ad3adb104
This commit is contained in:
@@ -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>
|
* <queries>
|
||||||
* ...
|
* ...
|
||||||
* <intent>
|
* <intent>
|
||||||
* <action android:name="android.intent.action.TTS_SERVICE" />
|
* <action android:name="android.intent.action.TTS_SERVICE" />
|
||||||
* </intent>
|
* </intent>
|
||||||
* </queries>
|
* </queries>
|
||||||
* </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>
|
* <queries>
|
||||||
* ...
|
* ...
|
||||||
* <intent>
|
* <intent>
|
||||||
* <action android:name="android.intent.action.TTS_SERVICE" />
|
* <action android:name="android.intent.action.TTS_SERVICE" />
|
||||||
* </intent>
|
* </intent>
|
||||||
* </queries>
|
* </queries>
|
||||||
* </code>
|
* </pre>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public class Engine {
|
public class Engine {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user