Add resource type annotations to some APIs
Change-Id: I37c8afdaea455aa92bc8270bb2dfd60616c5f9bc
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user