diff options
| author | 2015-08-05 16:48:24 +0000 | |
|---|---|---|
| committer | 2015-08-05 16:48:24 +0000 | |
| commit | a02bd53edefa6868829602675c068926ef270c63 (patch) | |
| tree | 6288367cc263c82fe65d72e31aaed29b4a80a2f8 | |
| parent | 4d2eec1434f08667999b9cc51e6cf6f7146003e5 (diff) | |
| parent | 6bdc4637d7ac1df86e9d745ac483987107a71282 (diff) | |
am 6bdc4637: Merge "NPE occured when trying to parcel voice features." into mnc-dev
* commit '6bdc4637d7ac1df86e9d745ac483987107a71282':
NPE occured when trying to parcel voice features.
| -rw-r--r-- | core/java/android/speech/tts/TextToSpeechService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/speech/tts/TextToSpeechService.java b/core/java/android/speech/tts/TextToSpeechService.java index fa015b230069..c3aed753efbd 100644 --- a/core/java/android/speech/tts/TextToSpeechService.java +++ b/core/java/android/speech/tts/TextToSpeechService.java @@ -40,6 +40,7 @@ import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; +import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.MissingResourceException; @@ -247,7 +248,7 @@ public abstract class TextToSpeechService extends Service { * @return A list of features supported for the given language. */ protected Set<String> onGetFeaturesForLanguage(String lang, String country, String variant) { - return null; + return new HashSet<String>(); } private int getExpectedLanguageAvailableStatus(Locale locale) { |