ca4f1fc57c86fb7e6094ba4117a027fffd79d227 |
|
20-Sep-2013 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Catch MissingResourceException caused by bad locale in TTS. Malformed locale objects will throw MissingResourceException from getISO3Country() and getISO3Language() methods. This change guard against the case where device default locale is malformed and user tries to get TTS default locale (b/10814409) and case where user tries to pass bad locale as argument to TextToSpeech.getFeatures method (b/10494193). Bug:11429552 Bug:10494193 Bug:10814409 Change-Id: Ie54d5d30bb042324da0c0d19b77c3a932c5642f7 (cherry picked from commit 58f16653728417100c61b5cb63298e0e3bb528dc)
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
|
40d51e70037c8d32f9bbafd54775e526d86caf23 |
|
13-May-2013 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Make TtsEngines.getDefaultLocale() method public TtsEngines is hidden class, it's not a public API. It's required for tracking system language setting by TTS engines (Change: Ic4bde97ef7406adb64cc03efbe660275360ba3af ) Bug: 8613986 Change-Id: Iafafcdb244e1520893bee65febd5a137e3556317
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
|
39268ffcb74f4c177e5e7427b66480c77743f928 |
|
17-Oct-2011 |
Narayan Kamath <narayan@google.com> |
Format default locale the same way as those stored in prefs. Also explicitly disallow locales with empty countries. This is required to match them against the set of engine supported locales. bug:5309930 Change-Id: Ie9714fdc09d3081081a2393d97c31e3a42bca294
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
|
e5b8c4dfc70288f661e0da4f082dd51cc1399f86 |
|
22-Aug-2011 |
Narayan Kamath <narayan@google.com> |
Framework changes to support new TTS settings features. Locale is now stored per engine, instead of as a global option. bug:5149036 Change-Id: I9848172623fe8aea1dd8e6678bca008da6a4cfb1
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
|
4d03462b374dfc080f0c7c78d458c102a26be5c6 |
|
16-Jun-2011 |
Narayan Kamath <narayan@google.com> |
New API for TTS settings. Engines must declare a <meta-data> attribute in their manifest with name "android.speech.tts". This must reference an XML resource as per com.android.internal.R.styleable.TextToSpeechEngine. Change-Id: I56a6b9f1a360174f98c9f39da901ade83d0f38a7
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
|
c3edf2a01a2cf2123a3de17ec1da11a3b6c459f0 |
|
15-Jun-2011 |
Narayan Kamath <narayan@google.com> |
Don't enforce defaults any more in the TextToSpeech API. This has been discussed in an email thread. This brings the text to speech API in line with other android APIs. The user can set default speech rates / languages and engine preferences, which the API obeys BUT these can be overriden by individual apps (much like intent.setComponent and intent.setClassName can be used to launch a specific handler for a given intent). Also, all installed engines are enabled by default. The user is shown the "data privacy" warning every time an installed engine is set to the default. Change-Id: I24f5f331b3a7cc7ce1a62962192e3a452bdca9d4
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
|
0e20fe5bab7dc3aff488d133961acfe0239f5240 |
|
14-Jun-2011 |
Narayan Kamath <narayan@google.com> |
A few TTS bug fixes (a) ensure that onInit is called exactly once per call to initTts(). (b) TtsEngines should never return an engine that is not installed. Change-Id: Ic1ef63a9339e6d1050e3302445ca40d3ae481f61
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
|
d3ee2fa18464fb7e4d7f6d27610fbf60b6d1ffce |
|
10-Jun-2011 |
Narayan Kamath <narayan@google.com> |
Refactor some of TextToSpeech required to let the Settings code to the same logic and not have to roll it's own. Change-Id: I2766b8562c940182a2954555fb1854889c3ac91a
/frameworks/base/core/java/android/speech/tts/TtsEngines.java
|