Add more IntDef prefixes for auto-documenting.

Test: builds, boots
Bug: 70177949
Exempt-From-Owner-Approval: annotation-only changes
Change-Id: I76dde6054e06f52240bd4b1a0f196dcb74623608
This commit is contained in:
Jeff Sharkey
2017-12-13 20:05:05 -07:00
parent ff38f236b5
commit ce8db99114
84 changed files with 660 additions and 409 deletions

View File

@@ -80,8 +80,15 @@ public class TextToSpeech {
public static final int STOPPED = -2;
/** @hide */
@IntDef({ERROR_SYNTHESIS, ERROR_SERVICE, ERROR_OUTPUT, ERROR_NETWORK, ERROR_NETWORK_TIMEOUT,
ERROR_INVALID_REQUEST, ERROR_NOT_INSTALLED_YET})
@IntDef(prefix = { "ERROR_" }, value = {
ERROR_SYNTHESIS,
ERROR_SERVICE,
ERROR_OUTPUT,
ERROR_NETWORK,
ERROR_NETWORK_TIMEOUT,
ERROR_INVALID_REQUEST,
ERROR_NOT_INSTALLED_YET
})
@Retention(RetentionPolicy.SOURCE)
public @interface Error {}