mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-29 12:22:21 -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
|
* @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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user