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) {