1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04: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);
}
}