summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorCharles Chen <clchen@google.com>2010-04-07 17:41:07 -0700
committerCharles Chen <clchen@google.com>2010-04-07 17:41:07 -0700
commit510bc4a2c3470e3f47e6bbc5417051dd442e7664 (patch)
tree3ec0a8ecd042592aa838bc84857f250de07e0d71 /src/com
parent263b7704bc7567429a9ed145d8f572066e510c5f (diff)
downloadpackages_apps_Settings-510bc4a2c3470e3f47e6bbc5417051dd442e7664.zip
packages_apps_Settings-510bc4a2c3470e3f47e6bbc5417051dd442e7664.tar.gz
packages_apps_Settings-510bc4a2c3470e3f47e6bbc5417051dd442e7664.tar.bz2
Fix for 2579445 - Using the correct strings for accessing Intent extras now.
Change-Id: I8a0b8f3add637ffffed4119b976c800ab3251b72
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/TextToSpeechSettings.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/settings/TextToSpeechSettings.java b/src/com/android/settings/TextToSpeechSettings.java
index 5366bd0..d6e11d7 100644
--- a/src/com/android/settings/TextToSpeechSettings.java
+++ b/src/com/android/settings/TextToSpeechSettings.java
@@ -368,11 +368,10 @@ public class TextToSpeechSettings extends PreferenceActivity implements
updateWidgetState();
return;
}
- // TODO (clchen): Add these extras to TextToSpeech.Engine
ArrayList<String> available =
- data.getStringArrayListExtra("TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES");
+ data.getStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES);
ArrayList<String> unavailable =
- data.getStringArrayListExtra("TextToSpeech.Engine.EXTRA_UNAVAILABLE_VOICES");
+ data.getStringArrayListExtra(TextToSpeech.Engine.EXTRA_UNAVAILABLE_VOICES);
if ((available == null) || (unavailable == null)){
// The CHECK_TTS_DATA activity for the plugin did not run properly;
// disable the preview and install controls and return.