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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user