summaryrefslogtreecommitdiffstats
path: root/picolanginstaller
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-08-07 13:21:15 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2009-08-07 13:29:59 -0700
commit94ebc238b39b38825ab2d6f0b81640a90b712394 (patch)
tree6d436d50362f7944b8f1c1c39906668a1195fdd8 /picolanginstaller
parenta8d076f716bca609b7e740cd888177fbc589a521 (diff)
downloadexternal_svox-94ebc238b39b38825ab2d6f0b81640a90b712394.zip
external_svox-94ebc238b39b38825ab2d6f0b81640a90b712394.tar.gz
external_svox-94ebc238b39b38825ab2d6f0b81640a90b712394.tar.bz2
Fix bug 2022435.
When the user clicks "install" for the TTS language pack installer and the download completes, the addition of the corresponding package is picked up by VoiceDataInstallerReceiver. It then causes the installer to run by firing off the RUN_TTS_DATA_INSTALLER event. This is less confusing for the user because the installation of the language files is now automatic once the download is initiated. Before, the user had to "open" the installer after the download completed.
Diffstat (limited to 'picolanginstaller')
-rwxr-xr-xpicolanginstaller/AndroidManifest.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/picolanginstaller/AndroidManifest.xml b/picolanginstaller/AndroidManifest.xml
index 52ffd29..fcb66b6 100755
--- a/picolanginstaller/AndroidManifest.xml
+++ b/picolanginstaller/AndroidManifest.xml
@@ -12,6 +12,10 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
+ <intent-filter>
+ <action android:name="com.svox.langpack.installer.RUN_TTS_DATA_INSTALLER" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
</activity>
</application>
</manifest>