diff options
author | Niels Egberts <nielse@google.com> | 2014-07-02 16:41:34 +0100 |
---|---|---|
committer | Niels Egberts <nielse@google.com> | 2014-07-02 16:09:54 +0000 |
commit | 795d777ee13405d8b6ba6c889ea3ef49713892a8 (patch) | |
tree | be8fc00a8bebad7f845530b89e2fb673a68e7089 /core/java/android/speech | |
parent | df7deefe8ebcbd619f27e2d394d7e5d0d7af33d1 (diff) | |
download | frameworks_base-795d777ee13405d8b6ba6c889ea3ef49713892a8.zip frameworks_base-795d777ee13405d8b6ba6c889ea3ef49713892a8.tar.gz frameworks_base-795d777ee13405d8b6ba6c889ea3ef49713892a8.tar.bz2 |
Forgot to deprecate a method in current.txt before merging earlier change.
Also includes a comment fix and line size changes in TextToSpeech.java.
Change-Id: Ia5842b694bca6cd9cae035164ffc605451e72d8b
Diffstat (limited to 'core/java/android/speech')
-rw-r--r-- | core/java/android/speech/tts/TextToSpeech.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index 457be22..b1040d0 100644 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -1039,7 +1039,8 @@ public class TextToSpeech { */ @Deprecated public int speak(final String text, final int queueMode, final HashMap<String, String> params) { - return speak(text, queueMode, params, params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID)); + return speak(text, queueMode, params, + params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID)); } /** @@ -1109,7 +1110,8 @@ public class TextToSpeech { @Deprecated public int playEarcon(final String earcon, final int queueMode, final HashMap<String, String> params) { - return playEarcon(earcon, queueMode, params, params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID)); + return playEarcon(earcon, queueMode, params, + params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID)); } /** @@ -1138,7 +1140,8 @@ public class TextToSpeech { return runAction(new Action<Integer>() { @Override public Integer run(ITextToSpeechService service) throws RemoteException { - return service.playSilence(getCallerIdentity(), durationInMs, queueMode, utteranceId); + return service.playSilence(getCallerIdentity(), durationInMs, + queueMode, utteranceId); } }, ERROR, "playSilence"); } @@ -1165,12 +1168,13 @@ public class TextToSpeech { * * @return {@link #ERROR} or {@link #SUCCESS} of <b>queuing</b> the playSilence operation. * @deprecated As of API level 20, replaced by - * {@link #playEarcon(String, int, HashMap, String)}. + * {@link #playSilence(String, int, HashMap, String)}. */ @Deprecated public int playSilence(final long durationInMs, final int queueMode, final HashMap<String, String> params) { - return playSilence(durationInMs, queueMode, params, params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID)); + return playSilence(durationInMs, queueMode, params, + params == null ? null : params.get(Engine.KEY_PARAM_UTTERANCE_ID)); } /** |