OSDN Git Service

Fix for empty "Listen to an example" string.
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>
Tue, 10 Sep 2013 09:35:57 +0000 (10:35 +0100)
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>
Tue, 10 Sep 2013 09:35:57 +0000 (10:35 +0100)
commiteb306b4c15d721c69255f02497d2bcebff0c265f
treea6bb52043653d300607e9496d104c00a77fa35f1
parentc184ed7683f3d56ca545ac91c15c747f5460addc
Fix for empty "Listen to an example" string.

Because of bug in previous TTS related change (bugfix for hiding
"Play TTS sample" if default language is not supported), settings
stopped to call getSampleText() when it was established that current
default language is supported.

This change makes sure that getSampleText() is always called if language
is supported.

Bug: 10672535
Change-Id: I83bf7056e12ddbe2322b6a3f04552802037626aa
src/com/android/settings/tts/TextToSpeechSettings.java