Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bda1e07c authored by Mathew Inwood's avatar Mathew Inwood Committed by android-build-merger
Browse files

Merge "Add <p> to UnsupportedAppUsage javadoc." am: dfd7bc77 am: 5e998174

am: 413ad6c7

Change-Id: I902de139a0a5508b1128fdd64274775c70225e6e
parents a7da3e52 413ad6c7
Loading
Loading
Loading
Loading
+8 −8
Original line number Original line Diff line number Diff line
@@ -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.
 * 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.
 * 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
 * <p>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
 * may affect apps, potentially breaking them when the next Android version is
 * released. In some cases, for members that are heavily used, this annotation
 * released. In some cases, for members that are heavily used, this annotation
 * may imply restrictions on changes to the member.
 * may imply restrictions on changes to the member.
 *
 *
 * This annotation also results in access to the member being permitted by the
 * <p>This annotation also results in access to the member being permitted by the
 * runtime, with a warning being generated in debug builds.
 * runtime, with a warning being generated in debug builds.
 *
 *
 * For more details, see go/UnsupportedAppUsage.
 * <p>For more details, see go/UnsupportedAppUsage.
 *
 *
 * {@hide}
 * {@hide}
 */
 */
@@ -53,15 +53,15 @@ public @interface UnsupportedAppUsage {
    /**
    /**
     * Indicates that usage of this API is limited to apps based on their target SDK version.
     * 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
     * <p>Access to the API is allowed if the targetSdkVersion in the apps manifest is no greater
     * this value. Access checks are performed at runtime.
     * 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
     * <p>This is used to give app developers a grace period to migrate off a non-SDK interface.
     * making Android version N, existing APIs can have a maxTargetSdk of N-1 added to them.
     * 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
     * Developers must then migrate off the API when their app is updated in future, but it will
     * continue working in the meantime.
     * continue working in the meantime.
     *
     *
     * 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},
     *         {@link android.os.Build.VERSION_CODES#O} or {@link android.os.Build.VERSION_CODES#P},