Fix bug 2045197.

The TTS settings activity uses the default TTS stream type. Associate
the volume control of this stream type with the volume control buttons.
This commit is contained in:
Jean-Michel Trivi
2009-08-11 09:06:58 -07:00
parent c9e5fc45b0
commit 6dde8965a0

View File

@@ -92,6 +92,8 @@ public class TextToSpeechSettings extends PreferenceActivity implements
addPreferencesFromResource(R.xml.tts_settings); addPreferencesFromResource(R.xml.tts_settings);
setVolumeControlStream(TextToSpeech.Engine.DEFAULT_STREAM);
mEnableDemo = false; mEnableDemo = false;
initClickers(); initClickers();
initDefaultSettings(); initDefaultSettings();