Merge "Make TTS setting transition animation consistent." into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d7bdf17aba
@@ -297,7 +297,6 @@ public class TtsEngineSettingsFragment extends SettingsPreferenceFragment implem
|
|||||||
private void installVoiceData() {
|
private void installVoiceData() {
|
||||||
if (TextUtils.isEmpty(getEngineName())) return;
|
if (TextUtils.isEmpty(getEngineName())) return;
|
||||||
Intent intent = new Intent(TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
|
Intent intent = new Intent(TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
||||||
intent.setPackage(getEngineName());
|
intent.setPackage(getEngineName());
|
||||||
try {
|
try {
|
||||||
Log.v(TAG, "Installing voice data: " + intent.toUri(0));
|
Log.v(TAG, "Installing voice data: " + intent.toUri(0));
|
||||||
|
Reference in New Issue
Block a user