mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-11 11:44:59 -05:00
Fix sound notification
This commit is contained in:
parent
7c63155cfb
commit
feaf1d4aea
@ -209,6 +209,10 @@ public class IRCService extends Service
|
||||
notification.vibrate = pattern;
|
||||
}
|
||||
|
||||
if (sound) {
|
||||
notification.defaults |= Notification.DEFAULT_SOUND;
|
||||
}
|
||||
|
||||
notificationManager.notify(R.string.app_name, notification);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user