Etar-Calendar icon indicating copy to clipboard operation
Etar-Calendar copied to clipboard

"Reminder" continues to trigger notifications

Open chaseadam opened this issue 3 years ago • 8 comments

Behavior

  • receiving periodic "notifications" from etar on my phone until dismiss the event reminder notification ** (screen activates and shows Etar notification and Pebble watch vibrates with appointment event)

Expected

Single notification via phone screen and watch for each event which has a reminder

Environment

Android 10 on Essential PH-1 stock (yep, I know it is way out of date now) Version 1.0.25 installed via Fdroid

Misc

Noticed the experimental "skip reminders" but that appears to be for event attendance status filtering.

On the positive side (even though it is a "snoozed" reminder I don't want), this alert also comes through on my Pebble smart watch via Gadgetbridge as an appointment reminder.

chaseadam avatar Apr 13 '21 15:04 chaseadam

I've noticed this same issue with Andriod 11 on a Google Pixel 4A. I wasn't sure if it was something Etar was doing, or some new Android behaviour where the OS just periodically re-triggers the notification behaviour for undismissed things from any app.

It seems to happen every 5 hours.

My preference would be for any Etar event notification to automatically go away after the event has ended.

pigmonkey avatar Apr 21 '21 23:04 pigmonkey

Same annoying endless reminder here until you dismiss the notification of a reminder.

Steps to reproduce:

  1. Create a calendar appointment with a reminder.
  2. Wait until the notification is shown.
  3. Don't dismiss the notification.

The notification sound is played periodically again, and again,... until you dismiss the notification.

In the logcat I've created, I found entries like the following showing up each time a notification is repeated:

05-07 18:20:26.212  1047  1125 I ActivityManager: Start proc 2372:org.lineageos.etar/u0a119 for broadcast {org.lineageos.etar/com.android.calendar.alerts.AlertReceiver}
05-07 18:20:26.359  2372  2372 D ExtensionsFactory: No custom extensions.
05-07 18:20:26.366  2372  2372 D AlertReceiver: onReceive: a=android.intent.action.PROVIDER_CHANGED Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://com.android.calendar flg=0x21000014 cmp=org.lineageos.etar/com.android.c
alendar.alerts.AlertReceiver (has extras) }
05-07 18:20:26.394  1047  1124 E NotificationService: Suppressing notification from package by user request.
05-07 18:20:26.395  2372  2397 D AlertService: 0 Action = android.intent.action.PROVIDER_CHANGED
05-07 18:20:31.438  2372  2397 I GlobalDismissManager: no sender configured
05-07 18:20:31.446  2372  2397 D AlertService: Beginning updateAlertNotification
05-07 18:20:31.482  2372  2397 D AlertService: alertCursor count:1
05-07 18:20:31.483  2372  2397 D AlertService: alertCursor result: alarmTime:1620400800000 alertId:8 eventId:546 state: 1 minutes:0 declined:false responded:false beginTime:1620400800000 endTime:1620401100000 allDay:false alarmTime:1620400800000 forceQuiet:false newAlertOverride: false
05-07 18:20:31.516  2372  2397 I GlobalDismissManager: no sender configured
05-07 18:20:31.523  2372  2397 D AlertService: Quietly posting digest alarm notification, numEvents:1, notificationId:0
05-07 18:20:31.540  2372  2397 D AlertService: Canceling leftover notification IDs 1-20
05-07 18:20:31.540  2372  2397 D AlertService: Scheduling next alarm with AlarmScheduler. sEventReminderReceived: null
05-07 18:20:31.575  2372  2397 D AlarmScheduler: Query result count for events starting within 1 week: 6
05-07 18:20:31.678  2372  2397 D AlarmScheduler: Scheduling alarm for EVENT_REMINDER_APP broadcast for event 545 at 1620490832561 (Sa., Mai 08, 2021 06:20pm)
...
...
05-07 18:59:37.592  1047  1125 I ActivityManager: Start proc 4225:org.lineageos.etar/u0a119 for broadcast {org.lineageos.etar/com.android.calendar.alerts.AlertReceiver}
05-07 18:59:37.831  4225  4225 D ExtensionsFactory: No custom extensions.
05-07 18:59:37.835  4225  4225 D AlertReceiver: onReceive: a=android.intent.action.PROVIDER_CHANGED Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://com.android.calendar flg=0x21000014 cmp=org.lineageos.etar/com.android.c
alendar.alerts.AlertReceiver (has extras) }
05-07 18:59:37.866  4225  4250 D AlertService: 0 Action = android.intent.action.PROVIDER_CHANGED
05-07 18:59:37.866  1047  1124 E NotificationService: Suppressing notification from package by user request.
05-07 18:59:42.908  4225  4250 I GlobalDismissManager: no sender configured
05-07 18:59:42.908  4225  4250 D AlertService: Beginning updateAlertNotification
05-07 18:59:42.920  4225  4250 D AlertService: alertCursor count:1
05-07 18:59:42.921  4225  4250 D AlertService: alertCursor result: alarmTime:1620400800000 alertId:8 eventId:546 state: 1 minutes:0 declined:false responded:false beginTime:1620400800000 endTime:1620401100000 allDay:false alarmTime:1620400800000 forceQuiet:false newAlertOverride: false
05-07 18:59:42.942  4225  4250 I GlobalDismissManager: no sender configured
05-07 18:59:42.947  4225  4250 D AlertService: Quietly posting digest alarm notification, numEvents:1, notificationId:0
05-07 18:59:42.965  4225  4250 D AlertService: Canceling leftover notification IDs 1-20
05-07 18:59:42.965  4225  4250 D AlertService: Scheduling next alarm with AlarmScheduler. sEventReminderReceived: null
05-07 18:59:42.982  4225  4250 D AlarmScheduler: Query result count for events starting within 1 week: 6
05-07 18:59:43.157  1047  1047 W Looper  : Slow dispatch took 204ms main h=com.android.server.notification.NotificationManagerService$WorkerHandler c=com.android.server.notification.NotificationManagerService$PostNotificationRunnable@f1b38e1 m=0
05-07 18:59:43.157  1047  1047 W Looper  : Slow delivery took 203ms main h=com.android.server.notification.NotificationManagerService$WorkerHandler c=com.android.server.notification.NotificationManagerService$CancelNotificationRunnable@8f1f606 m=0
05-07 18:59:43.161  4225  4250 D AlarmScheduler: Scheduling alarm for EVENT_REMINDER_APP broadcast for event 545 at 1620493183966 (Sa., Mai 08, 2021 06:59pm)

For this test, I created a 5 minutes appointment (18:20 - 18:25, reminder was set to "0 minutes before the event"). I found entries for this alert in logcat at 18:20, 18:59, 19:16, 19:50, and then I stopped).

I currently run LineageOS 17.1 official (2021-04-16) on Osprey (Motorola G 2015). Unfortunately, I don't see a version number of Etar. The application is part of LineageOS. I have this issue since I installed LinageOS 17.1 (fresh install with full wipe) last year, and LinageOS was constantly updated using the OTA updater.

Please let me know if there is anything else I can provide to debug this bug.

haziegler avatar May 07 '21 18:05 haziegler

Happening every day on Pixel 2 with GrapheneOS (Android 11) and Etar 1.0.25, too. Can be very annoying. :-(

christianfl avatar May 26 '21 09:05 christianfl

i am using lineageos 18.1/ android 11 amd have the same problems sometimes i am still getting notifications days later. would wish the would stop coming after the event started.

ulph0 avatar Mar 24 '22 17:03 ulph0

Recently switched back to etar and noticing the same thing on DivestOS 18.1 (LineageOS derivation)

chaseadam avatar May 04 '22 18:05 chaseadam

possibly similar to #1031 and #791

chaseadam avatar May 09 '22 14:05 chaseadam

Same Problem here (Etar 1.0.30 on /e/ 1.5 - Andriod 10). Plus notifications that have not been confirmed disappear completely after a certain amount of time. Interestingly enough the same problem does not occur with Etar 1.0.30 on Android 7. I guess it is related to the new notifications management of Android 10. (There is also an Etar notification about the scheduling of new reminders appearing from time to time) Is there maybe an option in the system notifications settings that may help restoring normal behavior?

dnfoo avatar Nov 12 '22 12:11 dnfoo

Still having those pesky "scheduling new reminders" notifications with Etar 1.0.34

Saroumane avatar Mar 04 '23 13:03 Saroumane

I occasionally get "Scheduling new reminders?" notification on CalyxOS. These notification propagate via GadgetBridge to my smart watch but I can not see them on device itself. I suppose these notifications appear for short period of time and then gets removed, but it is enough to buzz my clock and annoying.

I am not sure though that "Scheduling new reminders?" comes from Etar. Etar is the part of the OS, indeed, but source of notification is not visible on the watch.

Also sometimes I get similar spurios notifications with title "checking for messages?". This might be related.

Self-Perfection avatar Oct 20 '23 13:10 Self-Perfection