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

Commit 5aa6b39b authored by Matías Hernández's avatar Matías Hernández
Browse files

Update Javadoc of restricted AZR types to make that explicit

Bug: 317369236
Test: N/A, Javadoc only
Change-Id: Ic187537bff87f5d184c72a43ce891c3294660bfe
parent b017819a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -70,6 +70,8 @@ public final class AutomaticZenRule implements Parcelable {
    public static final int TYPE_SCHEDULE_CALENDAR = 2;
    /**
     * The type for rules triggered by bedtime/sleeping, like time of day, or snore detection.
     *
     * <p>Only the 'Wellbeing' app may own rules of this type.
     */
    @FlaggedApi(Flags.FLAG_MODES_API)
    public static final int TYPE_BEDTIME = 3;
@@ -95,6 +97,8 @@ public final class AutomaticZenRule implements Parcelable {
    /**
     * The type for rules created and managed by a device owner. These rules may not be fully
     * editable by the device user.
     *
     * <p>Only a 'Device Owner' app may own rules of this type.
     */
    @FlaggedApi(Flags.FLAG_MODES_API)
    public static final int TYPE_MANAGED = 7;