Country and variant locales are not stripped any more.

When the synthesizer returns LANG_AVAILABLE or
LANG_COUNTRY_AVAILABLE for a certain locale, we used to
strip the country and variant from the locale before asking
the synthesizer for the default voice name for this locale.

This CL contains tests for these changes.

Change-Id: I66999d08fdcecd833ccf3c6a8c74120e648d15fe
(cherry picked from commit a0342b72cd1aba6d131c396fb4ea2ce86a4e3ce6)
2 files changed