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

Commit 9a70472f authored by Matthew Fritze's avatar Matthew Fritze
Browse files

Add INTENT_ONLY as a ResultPayload Availibility

Test: robotests
Bug: 64165583
Change-Id: I1bb8fd3f331c8b8aabda55afe329471a9c5ef0c9
parent b79d38f2
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -68,7 +68,8 @@ public class ResultPayload implements Parcelable {
    @IntDef({Availability.AVAILABLE,
            Availability.DISABLED_DEPENDENCY,
            Availability.DISABLED_UNSUPPORTED,
            Availability.RESOURCE_CONTENTION})
            Availability.RESOURCE_CONTENTION,
            Availability.INTENT_ONLY,})
    @Retention(RetentionPolicy.SOURCE)
    public @interface Availability {
        /**
@@ -91,6 +92,11 @@ public class ResultPayload implements Parcelable {
         * be changed until it is released by said application.
         */
        int RESOURCE_CONTENTION = 3;

        /**
         * This setting is supported on the device but cannot be changed inline.
         */
        int INTENT_ONLY = 4;
    }

    @IntDef({SettingsSource.UNKNOWN, SettingsSource.SYSTEM, SettingsSource.SECURE,