diff options
| author | 2016-10-10 15:27:37 +0000 | |
|---|---|---|
| committer | 2016-10-10 15:27:37 +0000 | |
| commit | 30e45f5de498f36d6ac505f282e21280aaa1dfba (patch) | |
| tree | 688b6fed50ef5e8b598d72f0d869f7653c436a63 | |
| parent | 5cb74bca88268a8b9025be2cce81e1b4f967d19d (diff) | |
| parent | 21863add461405a96fbe3ff74a786aed49ff3458 (diff) | |
Updates documentation for MessagingStyle constructor am: fd590441c1 am: d86df31497
am: 21863add46
Change-Id: I1ab5b5f60df0c946040ed069a99e2b775bbee9a9
| -rw-r--r-- | core/java/android/app/Notification.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 680e5181c1c8..7be77c5548b7 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -19,6 +19,7 @@ package android.app; import android.annotation.ColorInt; import android.annotation.DrawableRes; import android.annotation.IntDef; +import android.annotation.NonNull; import android.annotation.SdkConstant; import android.annotation.SdkConstant.SdkConstantType; import android.annotation.SystemApi; @@ -4683,12 +4684,12 @@ public class Notification implements Parcelable } /** - * @param userDisplayName the name to be displayed for any replies sent by the user before the - * posting app reposts the notification with those messages after they've been actually - * sent and in previous messages sent by the user added in + * @param userDisplayName Required - the name to be displayed for any replies sent by the + * user before the posting app reposts the notification with those messages after they've + * been actually sent and in previous messages sent by the user added in * {@link #addMessage(Notification.MessagingStyle.Message)} */ - public MessagingStyle(CharSequence userDisplayName) { + public MessagingStyle(@NonNull CharSequence userDisplayName) { mUserDisplayName = userDisplayName; } |