Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
  1. May 25, 2018
  2. May 19, 2018
  3. May 13, 2018
  4. May 09, 2018
  5. Feb 15, 2018
  6. Feb 13, 2018
  7. Feb 01, 2018
  8. Jan 25, 2018
  9. Jan 24, 2018
  10. Jan 14, 2018
    • Cal Archer's avatar
      calendar: fix first notification after boot · 6fdd69b4
      Cal Archer authored
      AlertService.java has some workaround code for OEMs that
      messed up ACTION_EVENT_REMINDER alarms in CalendarProvider by using
      an additional EVENT_REMINDER_APP_ACTION alarm. The correct
      working of EVENT_REMINDER is detected when the event fires the
      first time, and it's saved in a preference item, however not loaded
      during init, thus the first calendar event after boot will get
      both EVENT_REMINDER and EVENT_REMINDER_APP events.  The result is that
      the second event acts as a quiet update which cancels the playback
      of the notification sound.  The sound is either not played at all
      or starts playing but is cut off after a fraction of a second.
      
      logcat excerpt:
      11-30 08:50:02.255  3197  3197 D AlertReceiver: onReceive: a=android.intent.action.EVENT_REMINDER Intent { act=android.intent.action.EVENT_REMINDER dat=content://com.android.calendar/1512028200000 flg=0x14 cmp=com.android.calendar/.alerts.AlertReceiver (has extras) }
      11-30 08:50:02.287  3197  3197 D AlertReceiver: onReceive: a=com.android.calendar.EVENT_REMINDER_APP Intent { act=com.android.calendar.EVENT_REMINDER_APP flg=0x14 cmp=com.android.calendar/.alerts.AlertReceiver (has extras) }
      11-30 08:50:02.526  2216  7876 D RingtonePlayer: PLAY
      11-30 08:50:02.529  3197  7857 D AlertService: Posting individual alarm notification, eventId:62, notificationId:1, LOUD, high-priority
      11-30 08:50:02.654  3197  7857 D AlertService: Posting individual alarm notification, eventId:62, notificationId:1, quiet, high-priority
      11-30 08:50:02.660  2216  7433 D RingtonePlayer: stopAsync()
      
      Change-Id: I4f420c9804e88eb75bb5c5cce16665190e08e91a
      
      (cherry picked from commit bf88827)
      6fdd69b4
  11. Jan 13, 2018
  12. Jan 11, 2018
  13. Jan 08, 2018
  14. Jan 07, 2018
  15. Jan 06, 2018
  16. Jan 03, 2018
  17. Dec 23, 2017
  18. Nov 04, 2017
  19. Oct 21, 2017
  20. Oct 03, 2017
  21. Sep 23, 2017
Loading