diff options
author | Charles Chen <clchen@google.com> | 2010-04-12 12:06:30 -0700 |
---|---|---|
committer | Charles Chen <clchen@google.com> | 2010-04-12 13:15:46 -0700 |
commit | 681d0b8a9ed29f421d798c679df737c24c67612c (patch) | |
tree | 5a1d8924d0b9ea803294379fe2f036b1c8c37ea5 | |
parent | 3957b3c147673d631feef2df49f1177289e08d41 (diff) | |
download | packages_apps_settings-681d0b8a9ed29f421d798c679df737c24c67612c.zip packages_apps_settings-681d0b8a9ed29f421d798c679df737c24c67612c.tar.gz packages_apps_settings-681d0b8a9ed29f421d798c679df737c24c67612c.tar.bz2 |
Fixing bug 2577511 - incorrectly trying to access a setting.
Change-Id: I50f3b2f4878bea1392aa36d47015cd312a59e23a
-rw-r--r-- | src/com/android/settings/TextToSpeechSettings.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/TextToSpeechSettings.java b/src/com/android/settings/TextToSpeechSettings.java index 8b30a5a..84b14a1 100644 --- a/src/com/android/settings/TextToSpeechSettings.java +++ b/src/com/android/settings/TextToSpeechSettings.java @@ -637,8 +637,8 @@ public class TextToSpeechSettings extends PreferenceActivity implements // demo string (at this stage there is a default language pref) ContentResolver resolver = getContentResolver(); mDefaultLanguage = Settings.Secure.getString(resolver, TTS_DEFAULT_LANG); - mDefaultCountry = Settings.Secure.getString(resolver, KEY_TTS_DEFAULT_COUNTRY); - mDefaultLocVariant = Settings.Secure.getString(resolver, KEY_TTS_DEFAULT_VARIANT); + mDefaultCountry = Settings.Secure.getString(resolver, TTS_DEFAULT_COUNTRY); + mDefaultLocVariant = Settings.Secure.getString(resolver, TTS_DEFAULT_VARIANT); // update the demo string mDemoStringIndex = mDefaultLocPref.findIndexOfValue(mDefaultLanguage + LOCALE_DELIMITER |