diff options
| author | Neil Fuller <nfuller@google.com> | 2019-10-24 03:22:04 -0700 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2019-10-24 03:22:04 -0700 |
| commit | 16799560dff575625b2c7dcc81995db304a515dc (patch) | |
| tree | 54826c9c69704a54239dade9e55fb78bf6f520bb /core/java/android | |
| parent | 3405e43101e44d062461f8daeeb9a7b2f1de3edc (diff) | |
| parent | eef56a4e6c737bb68ebaf58f7d2c4d554b11ac2e (diff) | |
Merge "Fix docs to be clearer and more maintainable" am: 7e62a930a1
am: eef56a4e6c
Change-Id: I82ac15bbebd70838ed3b0aa50bb4bd48a644fc7e
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/annotation/UnsupportedAppUsage.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/core/java/android/annotation/UnsupportedAppUsage.java b/core/java/android/annotation/UnsupportedAppUsage.java index a454df5d68f4..204d71d93cd8 100644 --- a/core/java/android/annotation/UnsupportedAppUsage.java +++ b/core/java/android/annotation/UnsupportedAppUsage.java @@ -83,8 +83,9 @@ public @interface UnsupportedAppUsage { * <p>Possible values are: * <ul> * <li> - * {@link android.os.Build.VERSION_CODES#O} or {@link android.os.Build.VERSION_CODES#P}, - * to limit access to apps targeting these SDKs (or earlier). + * An API level like {@link android.os.Build.VERSION_CODES#O} - in which case the API is + * 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> * absent (default value) - All apps can access this API, but doing so may result in @@ -94,10 +95,6 @@ public @interface UnsupportedAppUsage { * * </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. */ int maxTargetSdk() default Integer.MAX_VALUE; |
