mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
add in flags to get vibration and sound with notifications. (Untested
on device.) Will want to add prefs to disable these.
This commit is contained in:
parent
bf567a131a
commit
dbb69bfff5
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ public class RelayService extends Service {
|
|||
Notification notification =
|
||||
new Notification( R.drawable.icon48x48, title,
|
||||
System.currentTimeMillis() );
|
||||
notification.flags |= Notification.FLAG_AUTO_CANCEL;
|
||||
notification.flags |=
|
||||
Notification.FLAG_AUTO_CANCEL | Notification.DEFAULT_SOUND;
|
||||
notification.flags |= Notification.DEFAULT_VIBRATE;
|
||||
|
||||
notification.
|
||||
setLatestEventInfo( this, title,
|
||||
|
|
Loading…
Add table
Reference in a new issue