1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-29 12:22:21 -05:00

IRCService: Added javadoc

This commit is contained in:
Sebastian Kaspari 2010-11-18 18:47:12 +01:00
parent ce0650d711
commit f3f195f631

View File

@ -181,13 +181,21 @@ public class IRCService extends Service
} }
/** /**
* Update the notification * Update notification
* *
* @param text The text to display * @param text The text to display
*/ */
public void updateNotification(String text) { public void updateNotification(String text)
{
updateNotification(text, false); 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) public void updateNotification(String text, boolean vibrate)
{ {
if (foreground) { if (foreground) {