if (Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
if (engineName == null) {
return new TextToSpeech(context, onInitListener);
} else {
Log.w(TAG, "Can't specify tts engine on this device");
return new TextToSpeech(context, onInitListener);
}
} else {
return new TextToSpeech(context, onInitListener, engineName);
}