From f3f195f63137a59052e3703554a001a9b3f12c74 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Thu, 18 Nov 2010 18:47:12 +0100 Subject: [PATCH] IRCService: Added javadoc --- application/src/org/yaaic/irc/IRCService.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/application/src/org/yaaic/irc/IRCService.java b/application/src/org/yaaic/irc/IRCService.java index c7790c3..3b01403 100644 --- a/application/src/org/yaaic/irc/IRCService.java +++ b/application/src/org/yaaic/irc/IRCService.java @@ -181,13 +181,21 @@ public class IRCService extends Service } /** - * Update the notification + * Update notification * * @param text The text to display */ - public void updateNotification(String text) { + public void updateNotification(String text) + { updateNotification(text, false); } + + /** + * Update notification and vibrate if needed + * + * @param text The text to display + * @param vibrate True if the device should vibrate, false otherwise + */ public void updateNotification(String text, boolean vibrate) { if (foreground) {