mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-25 18:32:15 -05:00
IRCService: Added javadoc
This commit is contained in:
parent
ce0650d711
commit
f3f195f631
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user