Merge "Fix docs to be clearer and more maintainable"
am: 7e62a930a1
Change-Id: I9803c6c8dc78bfd2f86d7850368dfb9ad82ebbf6
This commit is contained in:
@@ -83,8 +83,9 @@ public @interface UnsupportedAppUsage {
|
|||||||
* <p>Possible values are:
|
* <p>Possible values are:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>
|
* <li>
|
||||||
* {@link android.os.Build.VERSION_CODES#O} or {@link android.os.Build.VERSION_CODES#P},
|
* An API level like {@link android.os.Build.VERSION_CODES#O} - in which case the API is
|
||||||
* to limit access to apps targeting these SDKs (or earlier).
|
* available up to and including the specified release. Or, in other words, the API is
|
||||||
|
* blacklisted (unavailable) from the next API level from the one specified.
|
||||||
* </li>
|
* </li>
|
||||||
* <li>
|
* <li>
|
||||||
* absent (default value) - All apps can access this API, but doing so may result in
|
* absent (default value) - All apps can access this API, but doing so may result in
|
||||||
@@ -94,10 +95,6 @@ public @interface UnsupportedAppUsage {
|
|||||||
*
|
*
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* Note, if this is set to {@link android.os.Build.VERSION_CODES#O}, apps targeting O
|
|
||||||
* maintenance releases will also be allowed to use the API, and similarly for any future
|
|
||||||
* maintenance releases of P.
|
|
||||||
*
|
|
||||||
* @return The maximum value for an apps targetSdkVersion in order to access this API.
|
* @return The maximum value for an apps targetSdkVersion in order to access this API.
|
||||||
*/
|
*/
|
||||||
int maxTargetSdk() default Integer.MAX_VALUE;
|
int maxTargetSdk() default Integer.MAX_VALUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user