summaryrefslogtreecommitdiffstats
path: root/core/java/android/speech
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2015-03-10 20:57:37 -0700
committerTor Norbye <tnorbye@google.com>2015-03-13 11:20:45 -0700
commit417ee5ba89f7e0fe5efd34fce74bf1ee5923d976 (patch)
tree20404d7a116b8f6925e163716ed2ef8365b4fbc6 /core/java/android/speech
parent4998467ce11cb74357fc700ce9c6319dedff26db (diff)
downloadframeworks_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.java2
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;