From 83cb8550dcd11c0091da11125b7e18b10f8c5760 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 23 Feb 2011 06:00:27 -0800 Subject: [PATCH] set the right field for sounds and notifications (helps to RTFM, but still not tested on device) --- .../XWords4/src/org/eehouse/android/xw4/RelayService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayService.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayService.java index 22dbff147..968368430 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayService.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayService.java @@ -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.