summaryrefslogtreecommitdiff
path: root/core/java/android/app/Notification.java
diff options
context:
space:
mode:
authorAndrew Sapperstein <asapperstein@google.com>2020-04-29 13:16:02 -0700
committerAndrew Sapperstein <asapperstein@google.com>2020-05-01 18:33:15 +0000
commit88d565e7e73ff2f404a07fcc477132ed4547ce0b (patch)
tree2fc1466562654df8735a1a41f60c3d8869d1dec1 /core/java/android/app/Notification.java
parent8fe35e5f2195e416f250ba5332bce676c362b210 (diff)
Update inner class constructor refs to use proper syntax.
Previously, we generally required fully qualified names for referring to inner class constructors (like #Notification.Builder()) despite that not being valid javadoc. Now, we properly support #Builder() syntax and the old syntax will error. Bug: 6963924 Test: make doc-comment-check-docs Exempt-From-Owner-Approval: cherry-picked from master Change-Id: Ib2e4360493275b79c72487ee1cb173bb5e0fd35f Merged-In: Ib2e4360493275b79c72487ee1cb173bb5e0fd35f (cherry picked from commit 4c4aa41272b431f603e401f49464ee776b55d8f5)
Diffstat (limited to 'core/java/android/app/Notification.java')
-rw-r--r--core/java/android/app/Notification.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 2a5839c959d9..a033b82f48cd 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -3513,7 +3513,7 @@ public class Notification implements Parcelable
}
/**
- * @deprecated use {@link Notification.Builder#Notification.Builder(Context, String)}
+ * @deprecated use {@link #Builder(Context, String)}
* instead. All posted Notifications must specify a NotificationChannel Id.
*/
@Deprecated
@@ -3631,7 +3631,7 @@ public class Notification implements Parcelable
* @param shortcutId the {@link ShortcutInfo#getId() id} of the shortcut this notification
* is linked to
*
- * @see Notification.BubbleMetadata.Builder#Notification.BubbleMetadata.Builder(String)
+ * @see BubbleMetadata.Builder#Builder(String)
*/
@NonNull
public Builder setShortcutId(String shortcutId) {
@@ -5993,7 +5993,7 @@ public class Notification implements Parcelable
* metadata matches the shortcutId set on the notification builder, if one was set.
* If the shortcutId's were specified but do not match, an exception is thrown here.
*
- * @see Notification.BubbleMetadata.Builder#Notification.BubbleMetadata.Builder(String)
+ * @see BubbleMetadata.Builder#Builder(String)
* @see #setShortcutId(String)
*/
@NonNull
@@ -7297,7 +7297,7 @@ public class Notification implements Parcelable
* Should be unique amongst all individuals in the conversation, and should be
* consistent during re-posts of the notification.
*
- * @see Message#Notification.MessagingStyle.Message(CharSequence, long, CharSequence)
+ * @see Message#Message(CharSequence, long, CharSequence)
*
* @return this object for method chaining
*
@@ -7317,7 +7317,7 @@ public class Notification implements Parcelable
* Should be <code>null</code> for messages by the current user, in which case
* the platform will insert the user set in {@code MessagingStyle(Person)}.
*
- * @see Message#Notification.MessagingStyle.Message(CharSequence, long, CharSequence)
+ * @see Message#Message(CharSequence, long, CharSequence)
*
* @return this object for method chaining
*/