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

Commit 9f4e0848 authored by Tony Mak's avatar Tony Mak
Browse files

Add javadoc for the SOURCE_ constants.

FIX: 126190185

Test: m
Change-Id: I393646987b6aba75bfbdfc32c2bb4d7e45a78c0d
parent 0175a40c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -68,7 +68,14 @@ public abstract class NotificationAssistantService extends NotificationListenerS
    @Retention(SOURCE)
    @IntDef({SOURCE_FROM_APP, SOURCE_FROM_ASSISTANT})
    public @interface Source {}

    /**
     * To indicate an adjustment is from an app.
     */
    public static final int SOURCE_FROM_APP = 0;
    /**
     * To indicate an adjustment is from a {@link NotificationAssistantService}.
     */
    public static final int SOURCE_FROM_ASSISTANT = 1;

    /**