diff options
Diffstat (limited to 'core/java/android/app/NotificationManager.java')
| -rw-r--r-- | core/java/android/app/NotificationManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/app/NotificationManager.java b/core/java/android/app/NotificationManager.java index 39edab70d141..afb3827878ed 100644 --- a/core/java/android/app/NotificationManager.java +++ b/core/java/android/app/NotificationManager.java @@ -82,7 +82,9 @@ public class NotificationManager * @param id An identifier for this notification unique within your * application. * @param notification A {@link Notification} object describing how to - * notify the user, other than the view you're providing. Must not be null. + * notify the user, other than the view you're providing. If you + * pass null, there will be no persistent notification and no + * flashing, vibration, etc. */ public void notify(int id, Notification notification) { |
