diff options
author | Tor Norbye <tnorbye@google.com> | 2015-03-10 20:57:37 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2015-03-13 11:20:45 -0700 |
commit | 417ee5ba89f7e0fe5efd34fce74bf1ee5923d976 (patch) | |
tree | 20404d7a116b8f6925e163716ed2ef8365b4fbc6 /core/java/android/speech | |
parent | 4998467ce11cb74357fc700ce9c6319dedff26db (diff) | |
download | frameworks_base-417ee5ba89f7e0fe5efd34fce74bf1ee5923d976.zip frameworks_base-417ee5ba89f7e0fe5efd34fce74bf1ee5923d976.tar.gz frameworks_base-417ee5ba89f7e0fe5efd34fce74bf1ee5923d976.tar.bz2 |
Add resource type annotations to some APIs
Change-Id: I37c8afdaea455aa92bc8270bb2dfd60616c5f9bc
Diffstat (limited to 'core/java/android/speech')
-rw-r--r-- | core/java/android/speech/tts/TextToSpeech.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index 668e028..13fb657 100644 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -918,7 +918,7 @@ public class TextToSpeech { * * @return Code indicating success or failure. See {@link #ERROR} and {@link #SUCCESS}. */ - public int addSpeech(CharSequence text, String packagename, int resourceId) { + public int addSpeech(CharSequence text, String packagename, @RawRes int resourceId) { synchronized (mStartLock) { mUtterances.put(text, makeResourceUri(packagename, resourceId)); return SUCCESS; |