set the right field for sounds and notifications (helps to RTFM, but still not tested on device)

This commit is contained in:
Eric House 2011-02-23 06:00:27 -08:00
parent 29b05b83ec
commit 83cb8550dc

View file

@ -85,10 +85,10 @@ public class RelayService extends Service {
notification.flags |= Notification.FLAG_AUTO_CANCEL;
if ( CommonPrefs.getSoundNotify( this ) ) {
notification.flags |= Notification.DEFAULT_SOUND;
notification.defaults |= Notification.DEFAULT_SOUND;
}
if ( CommonPrefs.getVibrateNotify( this ) ) {
notification.flags |= Notification.DEFAULT_VIBRATE;
notification.defaults |= Notification.DEFAULT_VIBRATE;
}
notification.