summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorKevin Hufnagle <khufnagle@google.com>2020-08-21 20:48:15 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-08-21 20:48:15 +0000
commitd3093ce95609af008f30fec08385e3a09de8d66b (patch)
tree3383a449feee73be0693b18e930a37e07a4b0804 /core/java
parent92876acc20e0ce4675545bcae6ea71f971891166 (diff)
parente69b8a9006309cbdafc78dd00f0c1ff4430c7f9b (diff)
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: I0a9b0550c4f129e9f8839f149b704b956cee4451
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/speech/tts/TextToSpeech.java33
1 files changed, 16 insertions, 17 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java
index 408e8504f408..2b8649f414d8 100644
--- a/core/java/android/speech/tts/TextToSpeech.java
+++ b/core/java/android/speech/tts/TextToSpeech.java
@@ -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>
+ * &lt;queries&gt;
* ...
- * <intent>
- * <action android:name="android.intent.action.TTS_SERVICE" />
- * </intent>
- * </queries>
- * </code>
+ * &lt;intent&gt;
+ * &lt;action android:name="android.intent.action.TTS_SERVICE" /&gt;
+ * &lt;/intent&gt;
+ * &lt;/queries&gt;
+ * </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>
+ * &lt;queries&gt;
* ...
- * <intent>
- * <action android:name="android.intent.action.TTS_SERVICE" />
- * </intent>
- * </queries>
- * </code>
-
+ * &lt;intent&gt;
+ * &lt;action android:name="android.intent.action.TTS_SERVICE" /&gt;
+ * &lt;/intent&gt;
+ * &lt;/queries&gt;
+ * </pre>
*/
public class Engine {