1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-11 11:44:59 -05:00

Fix sound notification

This commit is contained in:
Sebastian Kaspari 2011-01-15 23:38:56 +01:00
parent 7c63155cfb
commit feaf1d4aea

View File

@ -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);
}
}