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

Commit 8c840ed0 authored by Sandy Pan's avatar Sandy Pan
Browse files

Update Javadoc for `SupervisionRecoveryInfo`

Bug: 416343104
Test: SupervisionServiceTest
Flag: EXEMPT_Only_documentation_udpate
Change-Id: I2c937150292b33536d057ca617a3061cd9948e87
parent c3dd4ee9
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -35,7 +35,10 @@ import java.util.Objects;
/**
 * Contains the information needed for recovering the device supervision PIN.
 *
 * <p>Returned by {@link SupervisionManager#getSupervisionRecoveryInfo}.
 * <p>Typically returned as an {@link android.content.Intent} extra by the supervision PIN recovery
 * activity hosted by the {@code android.app.role.RoleManager#ROLE_SYSTEM_SUPERVISION} role holder.
 * This activity is generally launched to set up a recovery method or for recovery within the device
 * supervision flow.
 *
 * @hide
 */
@@ -48,8 +51,8 @@ public final class SupervisionRecoveryInfo implements Parcelable {
     * <p>The associated value should be a {@link android.app.supervision.SupervisionRecoveryInfo}
     * object.
     *
     * <p>* This extra is intended for use when launching the PIN recovery activity via {@link
     * com.android.settingslib.supervision.SupervisionIntentProvider#getPinRecoveryIntent }
     * <p>This extra is intended to be used by the supervision PIN recovery activity hosted by the
     * {@code android.app.role.RoleManager#ROLE_SYSTEM_SUPERVISION} role holder.
     */
    public static final String EXTRA_SUPERVISION_RECOVERY_INFO =
            "android.app.supervision.extra.SUPERVISION_RECOVERY_INFO";