OSDN Git Service

Fixing bugs 2577511 and 2581920.
authorCharles Chen <clchen@google.com>
Thu, 8 Apr 2010 23:51:35 +0000 (16:51 -0700)
committerCharles Chen <clchen@google.com>
Thu, 8 Apr 2010 23:51:35 +0000 (16:51 -0700)
commit8c8185b2606f3a232e4498b1128ca7bdecc3628f
tree2340a012633bec976d49dc479742d6ea5a8cdeaa
parent2088c1ada1f1997e7f363a5897dfc26b3635c80e
Fixing bugs 2577511 and 2581920.
Making sure that the language, country, and variant defaults are always
set to something to ensure that there won't be an NPE.
Dismissing the ListPreference dialogs before a rotation to avoid list
data corruption caused by the list being displayed while its data is
being re-initialized.

Change-Id: Iecdb3b4d415542dc8a4db162c930e6a6570a55f2
res/values/arrays.xml
res/xml/tts_settings.xml
src/com/android/settings/TextToSpeechSettings.java