Crash during notification randomly

pull/14/head
Tim Su 16 years ago
parent 79933aaed5
commit db599d81f8

@ -81,6 +81,11 @@ public class Notifications extends BroadcastReceiver {
else
reminder = ""; //$NON-NLS-1$
synchronized(Notifications.class) {
if(notificationManager == null)
notificationManager = new AndroidNotificationManager(context);
}
if(!showTaskNotification(id, type, reminder)) {
notificationManager.cancel((int)id);
}

Loading…
Cancel
Save