mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
set the right field for sounds and notifications (helps to RTFM, but still not tested on device)
This commit is contained in:
parent
29b05b83ec
commit
83cb8550dc
1 changed files with 2 additions and 2 deletions
|
@ -85,10 +85,10 @@ public class RelayService extends Service {
|
||||||
|
|
||||||
notification.flags |= Notification.FLAG_AUTO_CANCEL;
|
notification.flags |= Notification.FLAG_AUTO_CANCEL;
|
||||||
if ( CommonPrefs.getSoundNotify( this ) ) {
|
if ( CommonPrefs.getSoundNotify( this ) ) {
|
||||||
notification.flags |= Notification.DEFAULT_SOUND;
|
notification.defaults |= Notification.DEFAULT_SOUND;
|
||||||
}
|
}
|
||||||
if ( CommonPrefs.getVibrateNotify( this ) ) {
|
if ( CommonPrefs.getVibrateNotify( this ) ) {
|
||||||
notification.flags |= Notification.DEFAULT_VIBRATE;
|
notification.defaults |= Notification.DEFAULT_VIBRATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
notification.
|
notification.
|
||||||
|
|
Loading…
Reference in a new issue