am 6bdc4637: Merge "NPE occured when trying to parcel voice features." into mnc-dev

* commit '6bdc4637d7ac1df86e9d745ac483987107a71282':
  NPE occured when trying to parcel voice features.
This commit is contained in:
Niels Egberts
2015-08-05 16:48:24 +00:00
committed by Android Git Automerger

View File

@@ -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) {