diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index 6d7b7ce0282c1..186af70627514 100755 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -414,8 +414,10 @@ public class TextToSpeech { /** * {@hide} + * Total number of cached speech parameters. + * This number should be equal to (max param position/2) + 1. */ - protected static final int NB_CACHED_PARAMS = 20; + protected static final int NB_CACHED_PARAMS = 10; } /**