History log of /frameworks/support/annotations/src/android/support/annotation/RequiresApi.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2e8f895f0c6633fa6b01c9a59c4fe9c176421bb5 20-May-2016 Tor Norbye <tnorbye@google.com> Add back api= as an attribute to @RequiresApi

I changed the api= attribute to value= to make the
annotation more convenient to use, but apparently that
CL didn't make it into the beta1 build, so now that
code may be referencing api=, we'll need to include it
as well.

Change-Id: I5b267193923e28d4d45631c0715b460083fca828
/frameworks/support/annotations/src/android/support/annotation/RequiresApi.java
9c2b340df88ac4b88bb3e78ae0fd2c844e8f1f15 08-May-2016 Tor Norbye <tnorbye@google.com> Fix @RequiresApi annotation

(1) Fix target types (allow it to be specified on
classes, and not parameters)
(2) Use "value" instead of "api" such that in annotation
usage you don't have to explicitly name the attribute.

Change-Id: Ib07724a92b3c750a0c9d6c4036f34bbfe76161b0
/frameworks/support/annotations/src/android/support/annotation/RequiresApi.java
2f677a313ed35f25fd366e48dd9fcd65891d6efa 26-Apr-2016 Tor Norbye <tnorbye@google.com> 189699: Add @RequiredApi annotation as the dual of @TargetApi

Change-Id: I0310b642a049f077c839d1408efa90d10f01756a
/frameworks/support/annotations/src/android/support/annotation/RequiresApi.java