commit | 5a38df2648f5e8246d20a46675bd99cc5ea368e0 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Jan 05 15:14:04 2012 +0000 |
committer | Narayan Kamath <narayan@google.com> | Thu Jan 05 15:14:04 2012 +0000 |
tree | 9e0e5fbc04c084612eaf2269d840ad26accf9727 | |
parent | c9ac3ca0f198d62e16591e7867210251a853c0d1 [diff] |
Call setLanguage() when the TTS locale is changed in settings. This is required to fix the case where an app has instantiated and is using a TextToSpeech instance, and the user switches to settings and changes the language for that instance. If no app was using TTS, then onCreate() would have be called when TTS is used next, and the correct locale will be loaded. bug:5823836 Change-Id: I62adf3f7f0f14b67450ba08b8743e0d31e615a7e