From a1788af3440fef04d16067223a31e9dced3500b9 Mon Sep 17 00:00:00 2001 From: Przemyslaw Szczepaniak Date: Mon, 24 Mar 2014 15:07:03 +0000 Subject: Documentation update for TextToSpeech#getFeatures Added note that it may return null in case of error. Bug: 12323454 Change-Id: I246f7e894c5e8a6421bdd72c7623c72e8a13fc3a --- core/java/android/speech/tts/TextToSpeech.java | 1 + 1 file changed, 1 insertion(+) (limited to 'core/java/android/speech') diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index 327c59a..c527acf 100644 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -990,6 +990,7 @@ public class TextToSpeech { * must be behave as per {@link Boolean#parseBoolean(String)}. * * @param locale The locale to query features for. + * @return Set instance. May return {@code null} on error. */ public Set getFeatures(final Locale locale) { return runAction(new Action>() { -- cgit v1.1