From 2422489f3d726126f568448c3ef1e70495218f11 Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Fri, 18 Oct 2019 17:41:56 +0100 Subject: Fix docs to be clearer and more maintainable The mention of P in the doc was unclear. Also, listing the specific values allowed is a maintenance issue. Test: None Change-Id: I9c46eec353090ecd822f10a0a9e8433fa46246a0 --- core/java/android/annotation/UnsupportedAppUsage.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'core/java') 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 { *

Possible values are: *

* - * 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; -- cgit v1.2.3