IRCService: Added javadoc

This commit is contained in:
Sebastian Kaspari 2010-11-18 18:47:12 +01:00
parent ce0650d711
commit f3f195f631
1 changed files with 10 additions and 2 deletions

View File

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