summaryrefslogtreecommitdiffstats
path: root/pico
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-07-28 15:11:30 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2009-07-28 17:07:53 -0700
commitb641dea8fc113cbb6976eed9e073381a024ec224 (patch)
tree62f155aa0ac5cb7b48555084c1a31e08386b4c14 /pico
parent0e684c35978ae1db311baee6e343f71faa2dbbfa (diff)
downloadexternal_svox-b641dea8fc113cbb6976eed9e073381a024ec224.zip
external_svox-b641dea8fc113cbb6976eed9e073381a024ec224.tar.gz
external_svox-b641dea8fc113cbb6976eed9e073381a024ec224.tar.bz2
Fix bug 2017664.
Use the new names of the extra constants in TextToSpeech.Engine.
Diffstat (limited to 'pico')
-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();