Jean-Michel Trivi
5e11a6ad00
Prevent the setLanguage() method in TextToSpeech to change the language
...
for all current TextToSpeech instances by only caching the language
value so it is used with each subsequent utterance for this instance.
Synchronize calls to the engine around a global mutex since the engine
isn't thread-safe, except for the stop() call which is meant to interrupt
the synthesis loop.
2009-07-20 16:07:57 -07:00
Android (Google) Code Review
5f6133a100
Merge change 7833 into donut
...
* changes:
Fixing the random audio mangling problem (TTS becomes incomprehensibly fast)
2009-07-20 09:51:21 -07:00
Hung-ying Tyan
2c53de6904
Stop a daemon before starting it
...
in case the daemon is not cleaned up in last session.
2009-07-19 09:33:56 +08:00
Charles Chen
342c329203
Fixing the random audio mangling problem (TTS becomes incomprehensibly fast)
2009-07-18 00:25:21 -07:00
Android (Google) Code Review
4b897aa99b
Merge change 7829 into donut
...
* changes:
Making sure that there are no calls made to the native TTS layer if the utterance is in the process of being canceled.
2009-07-17 21:39:26 -07:00
Charles Chen
b79370aad7
Making sure that there are no calls made to the native TTS
...
layer if the utterance is in the process of being canceled.
2009-07-17 20:57:21 -07:00
Android (Google) Code Review
39846e6919
Merge change 7819 into donut
...
* changes:
Fix NullPointer in VpnServiceBinder.checkStatus().
2009-07-17 20:09:43 -07:00
Hung-ying Tyan
000c3ff943
Fix NullPointer in VpnServiceBinder.checkStatus().
2009-07-18 10:20:10 +08:00
Jean-Michel Trivi
8b86da899a
Remove obsolete playBuffer() method from the text-to-speech SynthProxy class.
2009-07-17 18:22:15 -07:00
Jean-Michel Trivi
19e53f7ae5
Delete global ref to the weak reference to the SynthProxy in the
...
native_finalize function, that was created in native_setup to prevent
leaking refs.
2009-07-16 20:13:12 -07:00
Jim Miller
82887f079f
Update youtube bookmark
2009-07-16 15:33:10 -07:00
Charles Chen
c231fd0fe7
Fixing a race condition that causes synthesis to not be aborted
...
even if stop is called.
2009-07-16 11:29:34 -07:00
Android (Google) Code Review
83fa356589
Merge change 7356 into donut
...
* changes:
Fixing a bug in how stop works - keep stop from always stopping the currently speaking item if that item does not belong to the app that is trying to do the stop.
2009-07-15 09:28:45 -07:00
Charles Chen
6f624239dc
Fixing a bug in how stop works - keep stop from always stopping
...
the currently speaking item if that item does not belong to the
app that is trying to do the stop.
Also adds back the functionality of globally stopping speech that
was lost when utterance IDs were added (needed by screen reader).
2009-07-14 19:30:29 -07:00
Charles Chen
4a3368ffe8
Making sure that the audio buffers for speech are cleared
...
so that there are no leftovers which could cause mangled output.
2009-07-14 18:21:27 -07:00
Charles Chen
edb4fc3076
Cleaning up TtsService
2009-07-14 10:54:36 -07:00
Android (Google) Code Review
df01d6b50b
Merge change 7064 into donut
...
* changes:
Implementing utterance ID callbacks for silence and pre-recorded files (both generating and playing).
2009-07-14 09:18:46 -07:00
Android (Google) Code Review
3a27b29e41
Merge change 7069 into donut
...
* changes:
Make VPN connect even when DNS is not present and other fixes.
2009-07-14 01:53:56 -07:00
Hung-ying Tyan
85646c1df3
Make VPN connect even when DNS is not present and other fixes.
...
* Changes:
+ As title.
+ Add two new states to VpnState: UNKNOWN and UNUSABLE.
+ Add more debug messages when stopping a service and when DNS being
overridden.
2009-07-14 16:29:22 +08:00
Charles Chen
3ab2076d65
Implementing utterance ID callbacks for silence and pre-recorded files
...
(both generating and playing).
2009-07-13 21:21:01 -07:00
Android (Google) Code Review
8af55ca4dd
Merge change 7008 into donut
...
* changes:
Adding Utterance ID to the TtsService.
2009-07-13 18:25:01 -07:00
Charles Chen
78c9d0d2c5
Adding Utterance ID to the TtsService.
2009-07-13 17:46:19 -07:00
Android (Google) Code Review
c353268c20
Merge change 6968 into donut
...
* changes:
Import new translations
2009-07-13 16:30:16 -07:00
Eric Fischer
0560209bcd
Import new translations
2009-07-13 15:42:14 -07:00
Jean-Michel Trivi
9440bce855
Propagate optional audio stream type to the creation of the audio resources
...
to enable the playback of TTS content on various stream types.
2009-07-13 11:34:30 -07:00
Android (Google) Code Review
6cdc4f9c00
Merge change 6880 into donut
...
* changes:
Fixing TTS breakage.
2009-07-13 09:25:20 -07:00
Hung-ying Tyan
c22ce6a738
Remove host IP from related VPN classes.
...
...since the daemon (racoon) gets the information by itself.
2009-07-13 19:31:08 +08:00
Hung-ying Tyan
df1aa3359c
Add error code in vpn connectivity broadcast.
...
* Changes
+ Add VpnConnectingError.java.
+ Broadcast the error returned by daemons.
+ Add error codes to VpnManager.java.
+ Add error code to VpnManager.broadcastConnectivity().
Patch Set 4:
+ Replace VPN_UP with VPN_STATUS in response to ip-up-vpn changes.
+ Make VpnServiceBinder a foreground service so that it won't be
interrupted by the system.
Patch Set 5:
+ Remove the support of returning 0 from daemon and restart socket in
AndroidServiceProxy.
2009-07-13 13:11:36 +08:00
Charles Chen
630a8de44f
Fixing TTS breakage.
2009-07-10 20:58:15 -07:00
Jean-Michel Trivi
d48ca22b9f
Use the TTS queue constants in the TTS service as defined in the
...
TextToSpeech class.
2009-07-10 10:04:37 -07:00
Charles Chen
a9c5e4bf26
Adding tagging to utterances to track which app said what.
2009-07-10 09:43:03 -07:00
Android (Google) Code Review
d1e5e3ffc2
Merge change 6639 into donut
...
* changes:
Restore audio settings and wifi.
2009-07-09 12:07:45 -07:00
Amith Yamasani
d158214511
Restore audio settings and wifi.
...
Optimize backups by writing an entity only if the checksum of the data has changed.
Call into the hidden AudioService API to apply changed audio settings.
After restoring wifi data, make sure that the permissions and ownership are set
properly for the supplicant process to access it.
Locale isn't restoring properly - TODO added.
2009-07-09 12:01:25 -07:00
Charles Chen
be84e4134d
Unbreaking the build.
2009-07-09 11:54:50 -07:00
Android (Google) Code Review
b45451f6da
Merge change 6583 into donut
...
* changes:
Adding a lock to stop so that stop will stop utterances that are just starting up.
2009-07-09 11:05:18 -07:00
Charles Chen
0a3d8744fe
Adding a lock to stop so that stop will stop utterances
...
that are just starting up.
2009-07-09 09:51:33 -07:00
Hung-ying Tyan
296a182dea
Move the watchdog timer to a separate thread...
...
so that it won't block the UI thread.
2009-07-09 14:43:55 +08:00
Android (Google) Code Review
d6fe243c1c
Merge change 6437 into donut
...
* changes:
Backup / Restore locale preference.
2009-07-07 18:59:28 -07:00
Amith Yamasani
8823c0a8c6
Backup / Restore locale preference.
...
Also backup development settings MOCK_LOCATION and USB_DEBUGGING.
Backup and restore more of the Audio settings. Won't work yet without a reboot.
Disable Wifi supplicant restore temporarily. It seems to be disabling Wifi due to
permissions problems.
Don't restore Ringtones.
2009-07-07 18:42:46 -07:00
Charles Chen
2a8a2d76f1
Removing the ttsSynthDoneCallback logging.
2009-07-07 16:24:02 -07:00
Charles Chen
b02ced7e45
Cleaning up logs.
...
Initializing SpeechItem.mText to "" instead of null to
prevent a null from accidentally being used when it is a
non-text utterance.
2009-07-07 14:57:16 -07:00
Android (Google) Code Review
b61479ae86
Merge change 6314 into donut
...
* changes:
Use the current Locale as the default language when TTS settings are not found, rather than a hardcoded value stored in TextToSpeech.Engine.
2009-07-07 10:35:40 -07:00
Jean-Michel Trivi
d478cf09df
Use the current Locale as the default language when TTS settings are not
...
found, rather than a hardcoded value stored in TextToSpeech.Engine.
2009-07-06 18:02:08 -07:00
Android (Google) Code Review
b71951591d
Merge change 6287 into donut
...
* changes:
Restore GPS state and ringer/vibrate toggles.
2009-07-06 17:32:09 -07:00
Amith Yamasani
70c874ba20
Restore GPS state and ringer/vibrate toggles.
...
Inform backup manager when sync flags change. Set ringer/vibrate mode.
2009-07-06 17:18:46 -07:00
Charles Chen
52ae06521a
Fixes a compatibility issue with users that have the old TTS
...
installed already.
2009-07-06 16:10:32 -07:00
Charles Chen
a3f89295ad
Propagating the error codes through the TtsService
2009-07-06 14:14:52 -07:00
Charles Chen
35b86c273a
Adding tts result codes.
2009-07-06 10:51:48 -07:00
Hung-ying Tyan
46841db4f2
Add PPTP and L2TP/IPSec PSK service dispatching
2009-07-06 23:38:48 +08:00
Hung-ying Tyan
7d22e15e1b
Migrate to new keystore with the CertTool lib.
2009-07-06 17:12:53 +08:00