--- a/src/com/beem/project/beem/BeemService.java Thu Aug 25 14:51:07 2011 +0200
+++ b/src/com/beem/project/beem/BeemService.java Mon Sep 05 18:01:49 2011 +0200
@@ -272,6 +272,9 @@
public void sendNotification(int id, Notification notif) {
if (mSettings.getBoolean(BeemApplication.NOTIFICATION_VIBRATE_KEY, true))
notif.defaults |= Notification.DEFAULT_VIBRATE;
+ notif.ledARGB = 0xff0000ff; // Blue color
+ notif.ledOnMS = 1000;
+ notif.ledOffMS = 1000;
notif.defaults |= Notification.DEFAULT_LIGHTS;
String ringtoneStr = mSettings.getString(BeemApplication.NOTIFICATION_SOUND_KEY,
Settings.System.DEFAULT_NOTIFICATION_URI.toString());
--- a/src/com/beem/project/beem/service/BeemChatManager.java Thu Aug 25 14:51:07 2011 +0200
+++ b/src/com/beem/project/beem/service/BeemChatManager.java Mon Sep 05 18:01:49 2011 +0200
@@ -288,7 +288,7 @@
.getName();
Notification notification = new Notification(android.R.drawable.stat_notify_chat, tickerText, System
.currentTimeMillis());
- notification.flags = Notification.FLAG_AUTO_CANCEL;
+ notification.flags = Notification.FLAG_AUTO_CANCEL | Notification.FLAG_SHOW_LIGHTS;
notification.setLatestEventInfo(mService, tickerText, msgBody, makeChatIntent(chat));
mService.sendNotification(chat.getParticipant().getJID().hashCode(), notification);
} catch (RemoteException e) {