From 9ed5b23d5999e445ef3b70a5355bfb033996990c Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Tue, 7 Sep 2021 08:16:32 -0700 Subject: [PATCH] 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 --- media/java/android/media/AudioAttributes.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/media/java/android/media/AudioAttributes.java b/media/java/android/media/AudioAttributes.java index f263c281ebc55..54252b5b712ae 100644 --- a/media/java/android/media/AudioAttributes.java +++ b/media/java/android/media/AudioAttributes.java @@ -139,26 +139,26 @@ public final class AudioAttributes implements Parcelable { */ 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 * 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 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" * 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 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 * 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 public final static int USAGE_NOTIFICATION_COMMUNICATION_DELAYED = 9;