Changed the logging message.

pull/14/head
Tim Su 17 years ago
parent 1e91d59874
commit eed464cb31

@ -217,7 +217,7 @@ public class Notifications extends BroadcastReceiver {
int flags) { int flags) {
AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);
Log.e("ALARM", "Alarm set for " + new Date(when)); Log.e("Astrid", "Alarm set for " + new Date(when));
am.set(AlarmManager.RTC_WAKEUP, when, createPendingIntent(context, id, flags)); am.set(AlarmManager.RTC_WAKEUP, when, createPendingIntent(context, id, flags));
} }
@ -229,7 +229,7 @@ public class Notifications extends BroadcastReceiver {
AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);
Log.e("ALARM", "Alarm set for " + new Date(when) + " every " + interval/1000 + " s"); Log.e("Astrid", "Alarm set for " + new Date(when) + " every " + interval/1000 + " s");
am.setRepeating(AlarmManager.RTC_WAKEUP, when, interval, am.setRepeating(AlarmManager.RTC_WAKEUP, when, interval,
createPendingIntent(context, id, flags)); createPendingIntent(context, id, flags));
} }
@ -326,7 +326,7 @@ public class Notifications extends BroadcastReceiver {
notification.sound = null; notification.sound = null;
} }
Log.w("Notifications", "Logging notification: " + reminder); Log.w("Astrid", "Logging notification: " + reminder);
nm.notify((int)id, notification); nm.notify((int)id, notification);
return true; return true;

Loading…
Cancel
Save