summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpico/AndroidManifest.xml4
-rwxr-xr-xpico/src/com/svox/pico/CheckVoiceData.java6
2 files changed, 5 insertions, 5 deletions
diff --git a/pico/AndroidManifest.xml b/pico/AndroidManifest.xml
index 7188e70..38b9955 100755
--- a/pico/AndroidManifest.xml
+++ b/pico/AndroidManifest.xml
@@ -20,7 +20,7 @@
<activity android:name=".DownloadVoiceData" android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
- <action android:name="android.intent.action.INSTALL_TTS_DATA" />
+ <action android:name="android.speech.tts.engine.INSTALL_TTS_DATA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
@@ -28,7 +28,7 @@
<activity android:name=".CheckVoiceData" android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
- <action android:name="android.intent.action.CHECK_TTS_DATA" />
+ <action android:name="android.speech.tts.engine.CHECK_TTS_DATA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
diff --git a/pico/src/com/svox/pico/CheckVoiceData.java b/pico/src/com/svox/pico/CheckVoiceData.java
index e05665f..6e6e59f 100755
--- a/pico/src/com/svox/pico/CheckVoiceData.java
+++ b/pico/src/com/svox/pico/CheckVoiceData.java
@@ -62,9 +62,9 @@ public class CheckVoiceData extends Activity {
// Put the root directory for the sd card data + the data filenames
Intent returnData = new Intent();
- returnData.putExtra(TextToSpeech.Engine.VOICE_DATA_ROOT_DIRECTORY, dataDir);
- returnData.putExtra(TextToSpeech.Engine.VOICE_DATA_FILES, dataFiles);
- returnData.putExtra(TextToSpeech.Engine.VOICE_DATA_FILES_INFO, dataFilesInfo);
+ returnData.putExtra(TextToSpeech.Engine.EXTRA_VOICE_DATA_ROOT_DIRECTORY, dataDir);
+ returnData.putExtra(TextToSpeech.Engine.EXTRA_VOICE_DATA_FILES, dataFiles);
+ returnData.putExtra(TextToSpeech.Engine.EXTRA_VOICE_DATA_FILES_INFO, dataFilesInfo);
setResult(result, returnData);
finish();