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

Commit 9ed5b23d authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioAttributes notification deprecation: fix javadoc order

@deprecated in javadoc should be at the end of the comments

Bug: 199151087
Test: atest AudioAttributesTest
Change-Id: I68f0e6540a36f9d792340b8c8e1cbe09f7a497dd
parent ef205b2d
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -139,26 +139,26 @@ public final class AudioAttributes implements Parcelable {
     */
     */
    public final static int USAGE_NOTIFICATION_RINGTONE = 6;
    public final static int USAGE_NOTIFICATION_RINGTONE = 6;
    /**
    /**
     * @deprecated Use {@link #USAGE_NOTIFICATION} which is handled
     *             the same way as this usage by the audio framework
     * Usage value to use when the usage is a request to enter/end a
     * Usage value to use when the usage is a request to enter/end a
     * communication, such as a VoIP communication or video-conference.
     * communication, such as a VoIP communication or video-conference.
     * @deprecated Use {@link #USAGE_NOTIFICATION} which is handled
     *             the same way as this usage by the audio framework
     */
     */
    @Deprecated
    @Deprecated
    public final static int USAGE_NOTIFICATION_COMMUNICATION_REQUEST = 7;
    public final static int USAGE_NOTIFICATION_COMMUNICATION_REQUEST = 7;
    /**
    /**
     * @deprecated Use {@link #USAGE_NOTIFICATION} which is handled
     *             the same way as this usage by the audio framework
     * Usage value to use when the usage is notification for an "instant"
     * Usage value to use when the usage is notification for an "instant"
     * communication such as a chat, or SMS.
     * communication such as a chat, or SMS.
     * @deprecated Use {@link #USAGE_NOTIFICATION} which is handled
     *             the same way as this usage by the audio framework
     */
     */
    @Deprecated
    @Deprecated
    public final static int USAGE_NOTIFICATION_COMMUNICATION_INSTANT = 8;
    public final static int USAGE_NOTIFICATION_COMMUNICATION_INSTANT = 8;
    /**
    /**
     * @deprecated Use {@link #USAGE_NOTIFICATION} which is handled
     *             the same way as this usage by the audio framework
     * Usage value to use when the usage is notification for a
     * Usage value to use when the usage is notification for a
     * non-immediate type of communication such as e-mail.
     * non-immediate type of communication such as e-mail.
     * @deprecated Use {@link #USAGE_NOTIFICATION} which is handled
     *             the same way as this usage by the audio framework
     */
     */
    @Deprecated
    @Deprecated
    public final static int USAGE_NOTIFICATION_COMMUNICATION_DELAYED = 9;
    public final static int USAGE_NOTIFICATION_COMMUNICATION_DELAYED = 9;