mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-25 18:32:15 -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