From 8ea8654baeafeb90c0fd0ed7b5f9c74e939fbc13 Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Tue, 28 Aug 2018 10:52:51 +0100 Subject: Add

to UnsupportedAppUsage javadoc. To make HTML rendering of it readable. Test: m Change-Id: Ie829b422d6d905f44a909e4a402b61169268e940 --- core/java/android/annotation/UnsupportedAppUsage.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/java/android/annotation/UnsupportedAppUsage.java b/core/java/android/annotation/UnsupportedAppUsage.java index fbba6dafde29..28145a06ecf2 100644 --- a/core/java/android/annotation/UnsupportedAppUsage.java +++ b/core/java/android/annotation/UnsupportedAppUsage.java @@ -27,15 +27,15 @@ import java.lang.annotation.Target; * Indicates that a class member, that is not part of the SDK, is used by apps. * Since the member is not part of the SDK, such use is not supported. * - * This annotation acts as a heads up that changing a given method or field + *

This annotation acts as a heads up that changing a given method or field * may affect apps, potentially breaking them when the next Android version is * released. In some cases, for members that are heavily used, this annotation * may imply restrictions on changes to the member. * - * This annotation also results in access to the member being permitted by the + *

This annotation also results in access to the member being permitted by the * runtime, with a warning being generated in debug builds. * - * For more details, see go/UnsupportedAppUsage. + *

For more details, see go/UnsupportedAppUsage. * * {@hide} */ @@ -53,15 +53,15 @@ public @interface UnsupportedAppUsage { /** * Indicates that usage of this API is limited to apps based on their target SDK version. * - * Access to the API is allowed if the targetSdkVersion in the apps manifest is no greater than - * this value. Access checks are performed at runtime. + *

Access to the API is allowed if the targetSdkVersion in the apps manifest is no greater + * than this value. Access checks are performed at runtime. * - * This is used to give app developers a grace period to migrate off a non-SDK interface. When - * making Android version N, existing APIs can have a maxTargetSdk of N-1 added to them. + *

This is used to give app developers a grace period to migrate off a non-SDK interface. + * When making Android version N, existing APIs can have a maxTargetSdk of N-1 added to them. * Developers must then migrate off the API when their app is updated in future, but it will * continue working in the meantime. * - * Possible values are: + *

Possible values are: *